Command Line


Use keywords to find the content you
are looking for with in the site.

Command MACRO


Provides command line macro's.
MACRO [macroname=text]


MACRO [/D macroname]



macronameSpecifies the name of the new command.
textSpecifies the commands to be executed.
/DDelete a macro.
ONDisplay expanded macro's.
OFFDo not display expanded macro's.
There are some special character combinations that have a special meaning and that can be included in parameter text :-
$$Dollar sign.
$1 to $9Replaceable parameters similar to %1 to %9 parameters used in batch programs.
$*Replace with the whole command tail.
$BBar character. Pipe commands.
$GGreater than sign character. Redirect output.
$LLess than sign character. Redirect input.
$TCommand separator.
  • Type MACRO without any parameters to display a list of all the macro's defined.
  • Macro's can have the same name as an original command, to execute the original command, type a space character before the command is entered.
  • Only the first 12 characters in parameter macroname are significant when executing a macro at the WinOne® prompt. However, all the characters in parameter macroname are significant when deleting a macro.
  • Macro's are saved as they are created.
  • Examples on using MACRO.

Copyright © 1995-2018 Lucien Cinc, All Rights Reserved
WinOne® is an Australian registered trademark

Go to the Australian Command Line Software web site.