windows question: how do I script network drive mapping w/ username/password?

view full story

http://www.linuxquestions.org – Hello. in XP, how do I map a network drive via command line so that it pops up a username/password dialog (with a "remember password" option), as you would if you went to "Tools->Map Network Drive..."? "net use e: \\server\share" seems to require the username password to be kept in plain text in the .bat file. I need to do this so I can deploy it with (non-microsoft) vpn clients to automatically setup drives when connecting. The user will not be on the same domain as the remote server (otherwise this wouldn't be a problem). Hel (HowTos)