batch cmd window size

I have a logon script that has

start banner.bat

is there any way to size this to be the same for all that logon
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I'm not sure, maybe this will help:

START banner.bat /max /normal

Type:  START /?  for more info.

CMILLERAuthor Commented:
that did not sem to change anything
Here's a complicated way that I found:

1) Open registry (regedit) and navigate to HKEY_CURRENT_USER\Console\DOS (could use Command Prompt if DOS isn't there)

2) Select Registry --> Export Registry File

3) Set File name to c:\temp\banner.reg or whereever you want to put it

4) Select Save as type as Win9x/NT4 Registration Files (REGEDIT4)

5) Click Save

6) Open up c:\temp\banner.reg using notepad

7) Change [HKEY_CURRENT_USER\Console\DOS] to [HKEY_CURRENT_USER\Console\Banner] and save

8)  Open registry and select Registry --> Import Registry File

9) Select c:\temp\banner.reg

10) Navigate to HKEY_CURRENT_USER\Console\Banner

11) Add a new DWORD value and name it WindowPosition

12) Give it a value based on this:

Specifies the position of the command window on the user's screen.

The value of this entry is an 8-byte hexadecimal value. The first four bytes (high word) represent the position of the window on the Y (vertical) axis. The last four bytes (low word) represent the position of the window on the X (horizontal) axis.

13) Open a DOS prompt to test it out and fine tune the setting. To test say:

start "Banner" cmd

14) When you've got it like you want it open registry and navigate to HKEY_CURRENT_USER\Console\Banner

15) Repeat steps 2 - 5

16) In the login processing import the registry file using the REG IMPORT command. You can dynamically build the registry file if you want by echoing out the data to a temp.reg file.

17) Issue the command: start "Banner" banner.bat

Good Luck,

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CMILLERAuthor Commented:
looking at that, will it change the way that all cmd's open

if I ran a
start, run, cmd

would it default open to the same size?

It will only change the position of command consoles with the title "Banner".
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.