Provides command line macro's.
There are some special character combinations that have a special meaning and that can be included in parameter text :-
MACRO [/D macroname]
MACRO [ON | OFF]
|macroname||Specifies the name of the new command.|
|text||Specifies the commands to be executed.|
|/D||Delete a macro.|
|ON||Display expanded macro's.|
|OFF||Do not display expanded macro's.|
|$1 to $9||Replaceable parameters similar to %1 to %9 parameters used in batch programs.|
|$*||Replace with the whole command tail.|
|$B||Bar character. Pipe commands.|
|$G||Greater than sign character. Redirect output.|
|$L||Less than sign character. Redirect input.|
- 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.