Instead of entering commands at the MS-DOS prompt, you can use a text file to input multiple commands for one execution of adduser.exe. You can use this technique to add users to your IMail system from another mail system if the other mail program can create a delimited text file of user ids, passwords, and user names.
Let’s suppose you want to add four user IDs (userid, smith, test1, and jones) to the wks013 server . Adduser.exe assumes that if there are no arguments in a text file, then the information on each line is userid, password, and full name – in that order.
For example, you could create a text file named addfour.txt that contains the following lines:
userid,password,full name
smith,whypass,Mrs Smith
test1,,Mr Smith
jones,okpass,Tom Jones
At the MS-DOS prompt, you enter:
Adduser -h wks013.augusta.ipswitch.com -f addfour.txt
You then get the following messages:
current host is wks013.augusta.ipswitch.com
OK: added userid to host wks013.augusta.ipswitch.com
OK: added smith to host wks013.augusta.ipswitch.com
OK: added test1 to host wks013.augusta.ipswitch.com
OK: added jones to host wks013.augusta.ipswitch.com
Note that the user named test1 will have "password" (the default) as his password.