Dos - Cmd (Command interpreter)

> Procedural Languages > Dos (Win32 Shell Scripting) and Utilities

1 - About

Cmd starts a new instance of the Windows command interpreter

More info:

help cmd
Advertising

3 - Syntax

The switches must be on one line but for the purpose of clarity we have put one switch by line.

CMD 
   [/A | /U] 
   [/Q] 
   [/D] 
   [/E:ON | /E:OFF] 
   [/F:ON | /F:OFF] 
   [/V:ON | /V:OFF]
   [[/S]
   [/C | /K] 
   command

where:

  • /Q turns echo off
  • /C terminates after
  • /K remains
  • E:ON and /E:OFF enables or disable the command extension
  • /V enables the delayed variable
  • /D Disable execution of AutoRun commands from registry (see below)
  • /A Causes the output of internal commands to a pipe or file to be ANSI
  • /U Causes the output of internal commands to a pipe or file to be Unicode
lang/dos/cmd.txt · Last modified: 2017/09/13 20:04 by gerardnico