Network Drive Mappings with Access Connection
Network Drive Mappings with Access Connection
Hi All,
Just wondering if anyone using AC manage to figure out how to automatically disconnect from Network Drive Mappings when switching profiles? E.G. Real annoying when switching from office and home profiles, and finding that Explorer works really slow as it is still trying to find Network Drives that no longer exist. Using AC 3.10 at the moment, am aware that 3.30, but unless this is fixed in the later release, there won't be any compelling reason to move to it (since everything else works fine at the moment otherwise)?
Any thoughts?
Just wondering if anyone using AC manage to figure out how to automatically disconnect from Network Drive Mappings when switching profiles? E.G. Real annoying when switching from office and home profiles, and finding that Explorer works really slow as it is still trying to find Network Drives that no longer exist. Using AC 3.10 at the moment, am aware that 3.30, but unless this is fixed in the later release, there won't be any compelling reason to move to it (since everything else works fine at the moment otherwise)?
Any thoughts?
-
mattfromomaha
- Moderator1

- Posts: 412
- Joined: Fri Jun 11, 2004 4:09 pm
- Location: Omaha, NE
You can make batch files that both connect and release the drives.
I think there's a way in Access Connections to "run a certain program" when swtiching to a profile, so you can have the batch file be that program - the "connect to network drives" batch file when you load the Office Profile, and the "release network drives" batch file when you load the Home Profile...I think!
I think there's a way in Access Connections to "run a certain program" when swtiching to a profile, so you can have the batch file be that program - the "connect to network drives" batch file when you load the Office Profile, and the "release network drives" batch file when you load the Home Profile...I think!
yup, this is really easy. first you need to create a map batch file, to do so first open up notepad.
to map drives type in
finally go to file save but save it as something.bat
now all you have to do in access connections when it asks what programs to launch is direct it to whereever you saved this batch file.
to disconnect, you just have to make another batch file and use this
here's microsoft's wording in case it makes more sense
to map drives type in
this will map \\computername\resource\resource2 to the Z: drivenet use z: \\computername\resource\resource2
finally go to file save but save it as something.bat
now all you have to do in access connections when it asks what programs to launch is direct it to whereever you saved this batch file.
to disconnect, you just have to make another batch file and use this
this will delete the z: drive mapping.net use z: /delete
here's microsoft's wording in case it makes more sense
this was taken from hereUse the Net Use command to map or disconnect a drive
You can use the net use command for batch files and scripts. To use the net use command to map or disconnect a drive:
To map a network drive:
Click Start, and then click Run.
In the Open box, type cmd.
Type net use x: \\computer name\share name, where x: is the drive letter you want to assign to the shared resource.
To disconnect a mapped drive:
Click Start, and then click Run.
In the Open box, type cmd.
Type net use x: /delete, where x: is the drive letter of the shared resource.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Expresscard to SCSI device? Need DB25 connection
by excal32 » Tue Jan 17, 2017 3:20 am » in ThinkPad T6x Series - 10 Replies
- 1437 Views
-
Last post by Shredder11
Sun Jan 29, 2017 2:00 pm
-
-
-
A22m wired internet connection
by Sudevan » Sun Feb 12, 2017 3:48 pm » in ThinkPad R, A, G and Z Series - 5 Replies
- 1336 Views
-
Last post by rkawakami
Mon Feb 13, 2017 11:38 pm
-
-
-
Network Card Conundrum
by gicos73 » Sat Jan 21, 2017 2:57 pm » in Thinkpad X6x Series incl. X6x Tablet - 1 Replies
- 1368 Views
-
Last post by jaspen-meyer
Thu Jan 26, 2017 2:51 pm
-
-
-
Need help with my thinkpad 380xd, IR network and pcmcia driver issues
by MichaelWeaser » Thu Apr 27, 2017 12:36 pm » in ThinkPad Legacy Hardware - 0 Replies
- 566 Views
-
Last post by MichaelWeaser
Thu Apr 27, 2017 12:36 pm
-
Who is online
Users browsing this forum: karotlopj and 4 guests




