Click to See Complete Forum and Search --> : Question on how to make DOS console full screen via command


MrDoomMaster
March 22nd, 2004, 10:25 AM
Hey guys, I'm using Visual Studio .NET 2003 to assemble and execute my 16BIT assembly code. To do this, I am using 2 seperate external tools (custom build). One actually assembles and links the code, while the other tool opens CMD.EXE to execute the resulting EXE.

Once I press the "Execute" tool, it opens a windowed console, which isn't what I want. I would like to know a specific command I can give to the external tool to make it open as full screen.

For some reason, windowed version of the console doesn't execute my assembly code very well, yet full screen CMD will do it how it is supposed to be done.

The only way I figure to correct this bad execution of my assembly program is to run it in full screen console mode. if anyone knows how to make the regular windowed console work, that would be great.

Here is the command I have for the Execute tool. It is an external tool with the following command:

COMMAND: C:\WINDOWS\system32\cmd.exe
ARGUMENTS: /C $(ItemDir)$(ItemFileName).exe
INITIAL DIR: $(ItemDir)

Remember, I need CMD to open in FULL SCREEN mode via command. Thanks!

MrDoomMaster
March 25th, 2004, 08:49 AM
Out of the hundreds of people that are using these forums, NO one can help me with this question?

Deniz
March 25th, 2004, 05:53 PM
Have you tried MSDN?

clet
March 28th, 2004, 01:20 AM
try this :
mode con cols=80 lines=25

MrDoomMaster
March 29th, 2004, 08:51 AM
Originally posted by clet
try this :
mode con cols=80 lines=25

it does what it is supposed to do, but doesn't make it full screen. Nice try though :) Thanks!

deepthinker
December 3rd, 2008, 03:12 PM
Google for a utility FSTOGGLE.EXE and start CMD with the string:

CMD /K FSTOGGLE 1

Hope that helps

DataMiser
December 6th, 2008, 12:24 AM
Perhaps you can just change the properties on your command window to open in full screen mode. To do this run your program and allow the cmd window to open then right click on the title bar of the cmd window select properties from the popup menu and change it to full screen then tell it to save the change for future windows with the same title.

I haven't tried this from code but if I run cmd.exe and follow the above procedure then the next time I run cmd.exe it opens full screen automatically. I would expect it to work the same way from code assuming the window gets the same title.

Codeplug
December 6th, 2008, 12:53 AM
While we're bump'n 4 year old threads...
http://cboard.cprogramming.com/showpost.php?p=345487&postcount=4

gg

TheCPUWizard
December 6th, 2008, 12:56 AM
While we're bump'n 4 year old threads...
http://cboard.cprogramming.com/showpost.php?p=345487&postcount=4

gg
Not suprising...It is a first time poster who did it... :rolleyes::rolleyes::rolleyes: