Command Prompt for Windows

Multiple Commands

More than one command may be entered on a single command line. Simply separate each individual command with an ampersand character ( ie. '&' ). For example :-

CDD D:\WINDOWS & ECHO Current directory is %DISK_PATH%

Will display the following when executed :-


The default ampersand separator character can be changed to any printable character in the following way :-

  1. Enter at the command prompt :-
    SETINI WinOne CharSplit=value
    where value is the ASCII character code.

  2. Exit and re-run the WinOne® Command Prompt, so that the change can take effect.


For a complete list of ASCII character codes see the ACS command.