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
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