DOSKEY Macros Supersede Internal Commands (73405)



The information in this article applies to:
    Microsoft MS-DOS operating system 5.0

This article was previously published under Q73405

SUMMARY

If you create a DOSKEY macro with the same name as an internal DOS command, the DOSKEY macro supersedes the internal command.

To execute the internal command, type a space before the command name. For example, if you create the following DOSKEY macro
   DOSKEY /MACRO DEL=COPY $1 $2
then DEL behaves like the COPY command. However, if you type a space before DEL, the internal command DEL is executed.

For more information on the DOSKEY command and creating macros, see page 453 of version 5.0 "Microsoft MS-DOS User's Guide and Reference."

Modification Type: Major Last Reviewed: 11/22/1999
Keywords: KB73405