Cmd Options

Typing Cmd in the Run dialog box or at a command prompt starts a new instance of the Windows command interpreter, Cmd.exe. Typing this command in the Run dialog box opens a new window for the command interpreter.

Syntax

cmd [[{/c|/k}] [/s] [/q] [/d] [{/a|/u}] [/t:fg] [/e:{on|off}]
[/f:{on|off}] [/v:{on|off}] string ]

Parameters

/c

Carries out the command specified by string and then stops. For compatibility, /r is the same as /c.

/k

Carries out the command specified by string and continues.

/s

Modifies the treatment of string after /c or /k.

/q

Turns the echo off.

/d

Disables execution of AutoRun commands.

/a

Creates American National Standards Institute (ANSI) output.

/u

Creates Unicode output.

/t: fg

Sets the foreground f and background g colors. The ...

Get Microsoft® Windows® Desktop Deployment Resource Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.