Network Drive .bat Mapping Help

Associate
Joined
3 Jan 2006
Posts
2,073
Location
Bishopsworth, Bristol
Hi Guys,

I'm having some trouble creating a working batch file that will map a network drive automatically. I have been using the net use \\PATHHERE PASSWORD /user:USERNAMEHERE syntax, but to no avail. The script runs, and closes and the drive doesn't map. The path, username and password are definitely correct.

If I remove the password and /user: parts, it does prompt me for a username and password in the CMD window so it's trying to do something. I've tried it on two machines.

This share I am trying to map is a share from a internet storage account (Strato HiDrive), which allows normal mapping when going through the Tools > Map Network Drive route.

Is there anything I'm doing wrong?

Thanks,
Jake
 
Thanks for the responses, it's much appreciated. I've tried a mixture of the above, and it still doesn't seem to map. Is it because it's an internet drive, hosted elsewhere? It's not on our network.

I've tried a software package called Network Drive Manager, and that seems to work.

Thanks again,
Jake
 
Back
Top Bottom