Donate SIGN UP

CMD trouble

Avatar Image
Nikephoros1 | 20:33 Tue 04th Sep 2007 | Technology
13 Answers
I need the command lines for the following things:
1. make text bold.
2. change the window size to full screen.

Cheers, Nike
Gravatar

Answers

1 to 13 of 13rss feed

Best Answer

No best answer has yet been selected by Nikephoros1. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
Bold

< b >

without spaces

Full screen - the F11 key
i dont think you can make cmd full screen. can make it like half screen but thats the limit. not sure why.

unless F11 works for you. doesnt work for me
Question Author
Cheers Ethel.
I usually make the screen full size by pressing ALT+ENTER but F11 might be easier.
Alt + enter does nothing for me.
Question Author
Oh, Ethel are you talking command prompt, ms-dos or system prompt (linux)?
Question Author
All i'm getting with the bold command is incorrect syntax.
You need to ask Crossroads or xroads - thats the AB expert on all matters (computers, lifts, filming, and drugs) to name just a few.
Question Author
ffs, who the hell is crossroads,xroads,crossy whatever you bloody keep calling me?
Nikephoros1. My lift is stuck and all the safety mechanisms have failed will you fixit for me please!!
Are you wanting to type in bold in a DOS box? If so, why? Or have we misunderstood you regarding your heading of "CMD trouble"? You can change the DOS box size, look and feel by simply changing it's parameters :

Create a new shortcut on the desktop (right-click on the desktop, New Shortcut), then simply enter %SystemRoot%\system32\cmd.exe. Give it a name of CMD or whatever, and then right-click this shortcut and select Properties, to reveal a host of properties (Full-Screen, font, colours etc).

Hope this helps, but as I am not sure exactly what you are asking, I have some doubts :)

Paul
Question Author
Thanks Paul, but i am looing to change the font to bold using a command line.
I'm using a batch file.
Fair enough, but change the font in what? In the DOS box itself as you are running a windows batch/vb script? I have done quite a few of these, never changed the font though, don't know if you can.
right .... I think I understand what you are trying to do

you want to run a batch file that shows progress or some other text while it is running

ie
***********************************
echo off
echo getting ready to do this job
del c:\*.*
cls
echo fooled you !!!!
***********************************
you want the window to appear full screen .... and the text in it to appear in bold
(this explanation partly is to stop the others fratching!!!!!)

the short answer is .... you can't do it without going to an incredible amount of trouble
see http://en.wikipedia.org/wiki/ANSI.SYS
and follow the external links as well

what you'll see however is .... no bold<b/>
the standard font for a comand line doesn't include bold ....
and modifying the shortcut doesn't seem to do anything

what you could do is use colours
by including the line - for instance
color 31
(yuck!)
(give aqua background blue writing)
0 = Black 8 = Gray
1 = Blue 9 = Light Blue
2 = Green A = Light Green
3 = Aqua B = Light Aqua
4 = Red C = Light Red
5 = Purple D = Light Purple
6 = Yellow E = Light Yellow
7 = White F = Bright White

as for full screen
a cmd window is 80x25 - because that's how it is
the only way I know of making the window full screen is to create a shortcut and modify the options.

this could be packaged into a self extracting RAR archive
containing a batch file to run your batch and a modified link
when run.... would extract to the temp folder ...and auto run the batch file
the question is .... is it worth it?

1 to 13 of 13rss feed

Do you know the answer?

CMD trouble

Answer Question >>

Related Questions