1.

Solve : How do you change the background color and size of the cmd prompt window??

Answer»

I have a batch file that opens a DOS cmd prompt WINDOW but I am stuck on how to change the background color and size of the new cmd prompt window. I have SOMETHING like this but it's only half work (if that make any sense).

start COLOR 1E & mode 40,7 cmd.exe

The background color works but to change the size does not.

As before. Any comments or suggestions would be greatly appreciated.

thanksto change size use Code: [Select]mode con lines=x cols=y
FBSwitches must follow the program being opened. Try this to start Cmd.exe with BLUE background and green lettering in full-screen.

Code: [Select]start /max "Cmd.exe, Green on Blue" cmd /t:1a/k cls

Good luck@echo off
color 0a
mode con=50 cols=75

save as wtv.batQuote from: PirateSamir

@echo off
color 0a
mode con=50 cols=75

Was it tested, is it possibe something is missing Im use to using Command promt ... lol but i would do Color a for green on black otherwise you can type in color dfd to get help for DIFFERENT colors.. just trying to helpsorry that was wrong, dont know wat i was thinking, anyways, save this is as wtv.bat
Code: [Select]@echo off
color 0a
mode con lines=50 cols=75
pause
Also to view all possible colour combinations type in color help in cmd.Quote from: PirateSamir on January 27, 2009, 05:15:25 AM
Code: [Select]mode con lines=50 cols=75

This line LOOKS familiar....

FBQuote from: fireballs on January 27, 2009, 05:17:52 AM
Quote from: PirateSamir on January 27, 2009, 05:15:25 AM
Code: [Select]mode con lines=50 cols=75

This line looks familiar....

FB

lol, its not my fault the guy didnt take your advice also is that my prob to
that's a good question, which is weird considering the omission of punctuation.Wow.


Discussion

No Comment Found