START ["title"]
[/Dpath]
[/I]
[/MIN] | [/MAX]
[/SEPARATE | /SHARED]
[/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
[/WAIT]
[/B]
[command/program]
[parameters]
| "title" | in window title bar. |
| path | Starting directory |
B | ^Break can interrupt
the application^C is ignored, unless the application
enables it.
|
I | The new environment will be the Initial environment passed
to the CMD not the current environment.i.e. If a variable has been set during processing, it will not be available in the new shell |
MIN|MAX | Start window minimized | maximuized |
SEPARATE|SHARED | Start 16-bit Windows program in separate | shared memory space |
LOW, NORMAL, HIGH, REALTIME, ABOVENORMAL, BELOWNORMAL | use specified priority |
WAIT | wait target it to terminate |
| command/program |
If it is an internal command or a batch file then
the command processor is run with the /K switch to CMD, the window will remain after the command has been run. Otherwise it will run as either a windowed application or a console application.
|
| parameters | These are the parameters passed to the command/program |
If Command Extensions are enabled,
external command invocation
through the command line or the START command changes as follows:
WORD.DOC would
launch the application associated with the .DOC file extension).
See the ASSOC and FTYPE
When executing a 32-bit GUI application, CMD
does not wait before returning to
the command prompt, unless executing within a command script.
a command line which begins with CMD, CMD
it is replaced with
the value of the COMSPEC variable (which may be ComSpec=C:\WINNT\system32\cmd.exe). This prevents picking up CMD.EXE
from the current directory.
CMD uses PathEXT
to determine which extensions to look for
and in order. The default is:
COM;.EXE;.BAT;.CMD CMD looks to see if the name matches a directory name. If it does, the
START command launches the Explorer on that path. If done from the
command line, it is the equivalent to doing a CD /D to that path.