REM delete all mapped network drives net use * /DELETE /Y REM map two drives net use W: "\\192.168.0.233\SharedFolderA" /persistent:yes /user:usernameA PaSsWorDA net use T: "\\192.168.0.231\SharedFolderB" /persistent:yes /user:usernameB PaSsWorDB
what you need to know: windows CAN NOT establish two connects to the same server with different usernames.
it just can’t.
so what you need to do is make all shared folders in question accessible to the one user that connects.
and then you can do:
net use W: "\\192.168.0.233\SharedFolderC" /persistent:yes /user:usernameA PaSsWorDA