Page 92 - 500
P. 92
command. That behavior has changed in Windows 2000; the
Command Prompt session now remains accessible by default. If
you want the old behavior, launch your program with the Start
command, using the /Wait switch, like this:
start /wait myprog.exe
The /Wait switch is probably not useful unless you need the old
behavior for some reason. The Start command has other options
that are useful, however. For Windows-based programs, you can
use /Min or /Max to make the program open in a minimized or
maximized window. For character-based programs, you can enter
(in quotation marks) the title that you want to appear on the
program window. Place any parameters or switches that you use
with the Start command before the name of the program or
command you want to start. Anything after the program name is
passed to the program as a command-line parameter and is ignored
by Start.
For more information about the Start command, type start /? at the
command prompt.
Using Commands
In most respects, entering commands or running programs at the
Windows 2000 command prompt is the same as using the
command prompt of any other operating system. MS-DOS, OS/2,
UNIX - if you've used one command prompt, you've used them all.
Every operating system has a command to delete files, another to
display lists of files, another to copy files, and so on. The names
and details may be different, but it's the same cast of characters.
The commands and features available at the Windows 2000
command prompt most closely resemble those of MS-DOS 5 -
with some important enhancements and additions.
Getting Help
The first thing you need to know about using the command prompt
is how to get help. You can get help on any command-line
program or internal command supplied with Windows 2000 in two
ways. You can