ALIAS [-d|-v] [sname] [value]
-d - Deletes an alias
-v - Volatile variable
sname - Alias name
value - Original name
Note:
1. 'sname' should not be an internal EFI Shell command.
2. 'value' can be an internal EFI Shell command, a script, or an EFI
application. However, any other values are also acceptable.
3. ALIAS values are stored in EFI NVRAM and will be retained between boots
unless the '-v' option is specified.
4. ALIAS will not add a nonvolatile alias when a volatile alias of the same
name already exists, or vice versa.
Examples:
* To display all aliases in the EFI Shell environment:
Shell> alias
md : mkdir
rd : rm
* To create an alias in the EFI Shell environment:
Shell> alias myguid guid
Shell> alias
md : mkdir
rd : rm
myguid : guid
* To delete an alias in the EFI Shell environment:
Shell> alias -d myguid
Shell> alias
md : mkdir
rd : rm
* To add a volatile alias in the current EFI environment, which has a star *
at the line head. This volatile alias will disappear at next boot.
Shell> alias -v fs0 floppy
Shell> alias
md : mkdir
rd : rm
* fs0 : floppy
沒有留言:
張貼留言