Solved

Batch change the drive letter referenced in a ArcMap 9.1 Document (mxd)

Posted on 2006-11-28
3
953 Views
Last Modified: 2008-01-09
Hello, thanks in advance for your help

I want to copy over all the files we use at the firm I work from the server onto my local drive on my laptop so I can carry them with me and work at home.

The maps and shapefiles are stored in a windows file system (as opposed to a GDB). My plan just to copy the entire top level directory onto my  C drive. Except for the rasters which I plan to burn to a DVD with the same file path that they are in on the server.

My question: Is there a way to batch change the drive reference used in the maps. Meaning if there is a map using a shape file stored in P:\GIS\Shapefiles\shapefile_x.shp is there a way to change the drive letter to C: w/o opening the map and doing it manually (there are hundreds of preexisting maps)..

thanks Allot
-Oscar9er

 
0
Comment
Question by:Oscar9er
3 Comments
 
LVL 5

Accepted Solution

by:
elvistheprince earned 500 total points
ID: 18123372
I'm guessing from the context you are talking about ArcGIS .mxd files, I think if you open the mxd in ArcMap on the new PC then when all the layers show up with red exclamation marks you can then right click on them in the legend then goto data -> Set Datasource  and select the new location all of the other datasources in the same directory should be updated at the same time (of course this assumes that all of the shape files are stored in the same directory) this doesn't always work but it's a start.

Alternatively (sorry only just though of this) right click on the "top level directory" that you have copied the data to on you hard drive like c:\GIS Data for instance, select share and share it as say erm GIS_Data. Then (here comes the science) goto \\you_computer_name in explorer and you should see a folder called GIS_Data, right click and select "Map Network Drive..." and map it to drive P:, you should now have a new drive that mirrors the P: when connected to the network, of course this will get reset when you log back onto the network but you could always write a batch file that you could run when you wanted to do/undo it.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I feel like more and more people want to know how to programmatically convert addresses into geospatial locations. So in this article, I will show you how you can do it with Bing Maps. I'm going to use PowerShell, which is a nice scripting language,…
Introduction This article is designed to assist GIS (Geographic Information System) and GPS (Global Positioning System) developers using ESRI ArcGIS and other spatial information management systems.   For the uninitiated the concept of projectio…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now