Addalias Text File Example

Addalias.exe Text File Example

Create a text file named test.txt that contains the following lines.

test1=me

test2=test1

test3=test2

-h virtual001 test1=me

test3=me

-m test2=him

-d test3

At the MS-DOS prompt, enter:

addalias < test.txt

The < symbol tells addalias to use test.txt as output.

You then get the following messages:

current host is wks003.augusta.ipswitch.com

added [wks003.augusta.ipswitch.com ] test1 -> me

added [wks003.augusta.ipswitch.com ] test2 -> test1

added [wks003.augusta.ipswitch.com ] test3 -> test2

current host is virtual001

alias exists [virtual001] test1 -> someone

added [virtual001] test3 -> me

modified [virtual001] test2 -> him

deleted [virtual001] test3 -> me