/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Remapping a path with mapped drives

07/20/2016 749 views
Hello,

We use mapped drives for a lot of our data. We recently moved the location for one of our drives. The old paths would normally be as follow

N:\School Info1\Type\Shoot Number\Person1
N:\School Info1\Type\Shoot Number\Person2
N:\School Info1\Type\Shoot Number\Person3

And so on for different folders all in the same location. I am trying to make a script that I could run to make it so it replaces the N:\ for a Y:\ instead. Any suggestions?

Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

1
use can do net use /delete on the n: drives and net use to map them back to y:

or use a script to setup active sync to make the changes to HKEY_CURRENT_USER\Network\
There you should see whatever network drives you have mapped, as a list of letters.

if you are in a domain you can use a gpo to do this also
Answered 07/20/2016 by: SMal.tmcc
Red Belt

All Answers

0
Thank you for the help
Answered 07/22/2016 by: Strawbridge
White Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ