CmdID

CmdID / Commands / add

add alias

Adds aliases to the alias environment. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Adds aliases to the alias environment. If used without parameters, add alias displays help at the command prompt. Aliases are saved in the metadata file and will be loaded with the load metadata command.

add alias <aliasname> <aliasvalue>

To list all shadows, including their aliases, type

list shadows allIdentify

The following excerpt shows a shadow copy to which the default alias, VSS_SHADOW_x, has been assigned

* Shadow Copy ID = {ff47165a-1946-4a0c-b7f4-80f46a309278} %VSS_SHADOW_1%

To assign a new alias with the name System1 to this shadow copy, type

add alias System1 %VSS_SHADOW_1%Identify

Alternatively, you can assign the alias by using the shadow copy ID

add alias System1 {ff47165a-1946-4a0c-b7f4-80f46a309278}Identify
<aliasname>Specifies the name of the alias.
<aliasvalue>Specifies the value of the alias.
?Displays help at the command prompt.