Cmd
Starts a new instance of the Windows NT command interpreter, CMD.EXE.
A command interpreter is a program that displays the command prompt at which
you type commands. Use the exit command to stop the new command interpreter and return control to the old
one.
cmd [/x | /y] [/a | /u] [/q] [/t:fg] [ [/c | /k] string]
Parameters
/c
Carries out the command specified by string and then stops.
/k
Carries out the command specified by string and continues.
/q
Turns the echo off.
/a
Creates ANSI output.
/u
Creates Unicode output.
/t:fg
Sets the foreground and background colors. (For more information, see the color command.)
/x
Enables extensions to the Windows NT version of CMD.EXE, to provide a richer
shell programming environment. The following commands use the extensions: del (erase), color, cd (chdir), md (mdir), prompt, pushd, popd, set, setlocal, endlocal, if, for, call, shift, goto, start, assoc, and ftype. For details, see the Help for each command.
/y
Disables extensions to the Windows NT version of CMD.EXE, for backward
compatibility reasons. The extensions are enabled by default.
string
Specifies the command you want to carry out.