UNALIAS - Remove aliases
Purpose: Remove aliases from the alias list.
Format: UNALIAS [/Q /R file ] [alias ...]
or
UNALIAS *
alias : One or more aliases to remove from memory.
file : One or more files to read for alias definitions.
/Q(uiet) /R(ead file)
See also: ALIAS and ESET.
Usage
CMD.EXE maintains a list of the aliases that you have defined. The
UNALIAS command will remove aliases from that list. You can remove one
or more aliases by name, or you can delete the entire alias list by using
the command UNALIAS *.
For example, to remove the alias DDIR:
[c:\] unalias ddir
To remove all the aliases:
[c:\] unalias *
If you keep aliases in a file that can be loaded with the ALIAS /R
command, you can remove the aliases by using the UNALIAS /R command with
the same file name:
[c:\] unalias /r alias.lst
This is much faster than removing each alias individually in a batch
file, and can be more selective than using UNALIAS *.
Options
/Q: (Quiet) Prevents UNALIAS from displaying an error message if
one or more of the aliases does not exist. This option is
most useful in batch files, for removing a group of aliases
when some of the aliases may not have been defined.
/R: (Read) Read the list of aliases to remove from a file. The
file format should be the same format as that used by the
ALIAS /R command. You can use multiple files with one UNALIAS
/R command by placing the names on the command line, separated
by spaces:
[c:\] unalias /r alias1.lst alias2.lst
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs