Moving ArcView Data from CD to a Working Directory

The provincial data CD is laid out in the following manner:


 The shapefiles associated with each project are contained within their individual folders:

 All scripts and .avl files, as well as, any shapefiles that were created or manipulated in any fashion in order to produce the projects are held in the following folders:

 Other folders include:

 Executable File:

ArcView Project Files and the Associated Data Folders 


Data Folder(s)


10000, Watershed


500,000, Watershed


50,000, Ns50


50,000, Ns50

1. To access the data on the disk open Windows Explorer and open the drive that is linked to the CD on your PC workstation.  You should see the directory and file break down as described above in the screen capture below:


2. The name of the working directory on your PC workstation that will contain the data folders will be called gisdata.  So before any folders are copied you have to create this folder in your working drive on your PC.  Do this by using the pulldown menu at the top of Windows Explorer, and use the option File>New>Folder as shown below.

3.Once you have created this folder in your working drive you can copy the APR_tool.exe file and all associated folders from the provincial data CD to gisdata.  Do this by clicking on the top data folder, and while holding down the CTRL key select the remaining folders and files that you wish to copy over.  Next, drag the files over to gisdata where they will be copied into this new directory.  DO NOT copy over the project (.apr) files.

Replace Paths Within ArcView Project Files 

 One of the problems with copying ArcView files to other folders and drive locations is the "path specific" references in the project (.apr) file. When opened, the .apr file looks for the data referenced in these statements, for instance (d:/500,000/shapes/tch_polyline.shp).  But, since the files have been moved to the new directory gisdata, the project file when opened in ArcView, doesn't know where to look for the shapefiles and database files associated with the project.  Below is an example of the window that pops up in ArcView when this problem occurs.


To compensate for this problem, use the APR_Tool.exe file. This is an executable file which brings up a nice interface allowing the user to open the existing project then replace the old path of the data folders with the new path, as well as run a check on the paths.  

Steps for running the APR_Tool

 1. Go into your gisdata directory and open the APR_Tool.exe file by double clicking on it.  When opened the APR_Tool will look like the following:


2. Click on the Open button

3.Select one of the project files from the CD (eg. 10000.apr) and click on open.   The window box will appear as shown below

4. You will be prompted to select the new file name for the project.  Navigate to your working directory gisdata, name the project and click on save.  The default is the projectname_new.apr (eg. 10000_new.apr).  However, you must change the name to be the same as the old file (eg. 10000.apr) in order to preserve the integrity of some of the other processes created within the projects.  Old and New paths for the files should appear under their respective lists.

5.Under New path click on each path and change the location of the data to your working directory (eg. d:/10,000/shapes/  to  d:/gisdata/10,000/shapes/).  Refer to the example below:

6. Click on the Check Paths button to ensure that the paths are correct.  If the paths are correct the message box below will be displayed

7. Click on OK.  A message will appear stating that the new project has been created

8. This process must be followed for the remaining projects on the CD when you wish to utilize them.  Once the projects are saved to your working directory, they may be opened from this location without following APR_Tool process


Changing the Path Names in a Project Script

 To open a project in ArcView:

1.      Open ArcView. 

2.      If the Welcome to ArcView GIS window appears, select Open an existing project. If the Project Window appears, go under File  >Open Project.

3.      Find the directory in which the files are located and select the project.

 Unfortunately, the APR_Tool does not work for scripts that include path names.  Therefore, any scripts with this feature must be opened and a Find and Replace must be implemented.  The only script that requires this is the Add Data script.  Refer to the Description section of this Readme file to determine if you want to continue with this process.  You may not need this script for your purposes.

To change the paths in the scripts:

1.      Open the project.

2.   Select scripts from the Project Window as shown below


3.      Open the Add Data script by clicking the Open button.

4.      Select the Edit  >Replace menu at the top of the screen. 

5.   Type d: as the "Enter find string".  Click OK.  Refer to the example below

5. Type d:\gisdata as your drive and directory location that you will replace d: with.  Click OK.  Refer to the example below

All occurrences of the previous drive location will be changed to your working directory.  Click on the Check mark button at the top of the Project Window GUI to compile the script.   If you wish to save these options as a text file then click on the Write text file button.

                        Script compile button              Script save button


Changing Path Names to View Photos for a Project


1.      In the 10000.apr project, select the "1:50,000 Project Area " theme from the Legend.  The theme is selected when a box appears around it, giving it a raised appearance.

2.      Click on the "Tables" button or Theme  >Table to open the attribute table for the "1:50,000 Project Area " theme. 


3.      Click on the top of the Attributes of 1:50,000 Project Area to make it active.

4.      Select Table  >Start Editing

5.      Click on the Field Name 50000 (it will appear darker than the other fields and the text will display as white)

6.      Click on the Cursor/Pointer button and change each of the records from its current directory location to your own working directory (eg. d:\Ns50\sackville\sackville.apr  to d:\gisdata\Ns50\sackville\sackville.apr).  Hit enter after each correction.

Do the same procedure with the 500000.apr project using the theme "Areas of Detail".


To view the photos:

Within the View component of an open project:

Step1: under File  >Extensions: select MrSID Image Support

Step2: under View  >Add Theme: select photos folder

Step3: under Data Source Types: select Image Data Source

Step4: select the photo you wish to add to the View