NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]
NET USE {devicename | *} [password | *] /HOME
NET USE [/PERSISTENT:{YES | NO}]
REM Only mapping a drive
net use z: \\server\share /persistant:yes
REM you can add /user:username password if you need to map it under anothers credentials.
it would be nice if i don't have to run the script each logon. is there any way that the mapped drives are remembered at the next logon?