Table of Contents

About

Cmd starts a new instance of the Windows command interpreter

More info:

help cmd

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