cmd.exe and property layout

  • Thread starter Thread starter --== Alain ==--
  • Start date Start date
A

--== Alain ==--

Hi,

i would like via a *.bat or *.vbs file to open a cmd window with
particular "property layout" (like height=80, width=120,...)

how can i do that ?

thanks a lot,

Alain
 
--== Alain ==-- said:
Hi,

i would like via a *.bat or *.vbs file to open a cmd window with
particular "property layout" (like height=80, width=120,...)

how can i do that ?

thanks a lot,

Alain

Create a shortcut to invoke this line:

cmd.exe /f:on /k mode con lines=80 cols=120
 
Equally, if you already have a shortcut that you use to bring up the command
window, you can update the shortcut in the following manner:
Right click on the title bar and select properties. A dialogue will appear
with all the properties for the command prompt window. Just update all the
tabs with the type of options, font, layout and colours that you require and
press the OK button. You will then be given the option to apply the
properties either to the window currently open or to update the shortcut
that opened the window in the first place.
The command line given to you by Pegasus will work, but this way gives you a
bit more choice as to how you want the window to look without having to
delve into the help files to find all the command options.

Hope this helps.
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top