Appendix D. CMD and Batch File Language Reference
The CMD Command Line
The format of the CMD command line is
cmd [/a | /u] [/q] [/d] [/t:bf] [/e:on|off] [/f:on|off] [/v:on|off] [[/s] [/c | /k] command]
The options are listed in Table D.1.
Table D.1. CMD Command-Line Options
Option | Description |
---|---|
/a
| Causes standard output to use ANSI encoding. |
/u
| Causes standard output to use Unicode encoding. |
/q
| Turns batch file echo default to off. |
/d
| Disables execution of AutoRun commands defined in the Registry. |
/t: bf
| Two digits set the background (window) and foreground (text) colors for the window. For example, /t:1e specifies yellow text on a blue background. The color values are listed in Table 11.5 on page 485.
|
/e
| Enables or disables the command extensions. ... |
Get Windows® XP Under the Hood 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.