Discussion Locked

using DOS on WinXP

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to setup a DOS program in Windows XP, and maximise the screen. For this a script is needed, so that one click does it all
CMD
CD WP
WP
maximise

CAn anyone help?

5 replies

by craig herberg

You can easily put a batch file on your desktop, as follows:

Right-click on a blank part of your desktop and click NEW - Scroll to TEXT DOCUMENT
Rename it something like -- WP.bat
You can ignore the warning.

Next right-click your new file, and select OPEN WITH and scroll to NOTEPAD.

Put the following in it:
CMD
CD \WP
WP

Save your new batch file, and you're ready to use it. I am not aware of a way to make the session full screen from the command line, but ALT-ENTER will toggle between full screen and windowed session.

Good luck.

Craig Herberg

by softcorp.us

Hello...

I presume that by "script" you mean .BAT file. Here's what to do:

1. Create your .BAT file. We'll call it MYSCRIPT.BAT. You will invoke your DOS program via a command the .BAT file.
2. Right click on the MYSCRIPT.BAT file and choose "Create Shortcut".
3. Right click on the shortcut (probably named "Shortcut to MYSCRIPT.bat") and choose Properties.
4. Options tab, Display Options, choose "Full Screen".
5. Click OK.

Now, whenever you run the _shortcut_, the MYSCRIPT.BAT file will run fullscreen on Windows XP. When it completes, the screen will go back to GUI mode.

Does this answer your question?

-----Steve Jackson

CEO/CSA
Software Corporation (Softcorp)
http://www.softcorp.us/probono
Advanced pro bono tools and utilities free for personal use

This discussion is closed to new replies.