[OpenAFS] Win2K command line drive mapping?

T. Matthew Cocker matt@cs.auckland.ac.nz
Fri, 29 Jun 2001 08:18:27 +1200

In win2k the unattend.txt install format for a computer name is


so may be the command may work better as

net use z: \\%MACHINENAME%-afs\all blah blah



>I was also seeing the same problems with the global drives.
>I'm now using the command line:
>net use z: \\%COMPUTERNAME%-afs\all\office.commerceflow.com\user\%USERNAME%
>though you probably want:
>net use z: \\%COMPUTERNAME%-afs\all
>(varible names are case-insensitive)
>many thanks to Jim Peterson at IBM who helped me figure out the damn
>command too :)