Command: alias
ALIAS creates, displays or removes an alias for use on the
command line.
Syntax:
ALIAS [variable[=][string]]
ALIAS [/?]
Options:
variable Specifies the alias name.
string Specifies a series of characters to assign to the alias.
/? Shows the help.
Comments:
Type ALIAS without parameters to display the current aliases.
Type "ALIAS variable=" (without string) to delete the alias again.
ALIAS is a command internal to command.com and needs no other file
in order to work.
Examples:
"Alias" displays a list of the current aliases, if any
"Alias text=edit" if you type "text" + ENTER the editor will be opened.
"Alias text=" the variable text is deleted. If you now type "text",
the editor will not be opened, you will get an error
message: command "text" not found!
See also:
(doskey)
history
Copyright © 2003 Robert Platt, updated 2007 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.