NetSetMan Support
You are not logged in.
- Topics: Active | Unanswered
#1 2007-10-15 19:39
- grizzlybear
- Member
- Registered: 2007-10-15
- Posts: 2
Mapping/mounting of network drives with batch script
I am using different workstations and for working at the customer site I am using a Notebook. It is a hassle to use MS functionality to map, respectively mount network drives.
As a lazy person I wrote batch scripts for each customer network and use the net use command to map and mount networkdrives. I am starting these scripts with the "Davor/before" register.
However, when I use these scripts on my Notebook WinXP shows even after net use * /d /y the old mappings with the last IP address. When I click the drive I will be connected to the right server and right directory. But it takes time.
Example:
daten auf 192.168.100.111 (X:)
and when I click its actually connected to 192.168.0.1
I am not sure whether this is some MS bug or wether I should do something different with netsetman.
Carpe Diem!
Bernhard Ritter
Offline
#2 2007-10-20 21:34
- NetSetMan Support
- Administrator
- Registered: 2005-08-06
- Posts: 1,878
Re: Mapping/mounting of network drives with batch script
Well, NetSetMan helps to write and execute the scripts. The actual script handling is done by Windows. The script takes the same time and works the same way whether it's executed through NetSetMan or with a double-click in Windows.
Offline