Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

map drive to remote system

Status
Not open for further replies.

buddyel

MIS
Mar 3, 2002
279
0
0
US

I have an application that must connect to another network over a VPN and I need to setup a mapped drive. I am trying to configure this in the users' login batch file. Unfortunately I cannot save the username and password for this remote share like I can in Windows 2003. What is the proper net use syntax to map this remote share to a specific drive letter with also having to enter a username and password. Also, the password contains special characters (%&).

This is currently what I am trying but is not working.

net use z: \\ipaddress\DocumentImport\ password | "y%&78c" /user:domain\username
 
Try This:

Net Use Z: \\ipaddress\DocumentImport "y%&78c" /user:domain\username



 
NET USE [devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]


Your net use command should look like this.

net use z: \\ipaddress\share /user:domain\username password
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top