Hi all,

        Thanks for your responses to my question.  Following is a summary of
the responses I got to my question below.  The answers generally came in two
categories.
        1. Yes, you can simply change the drive letter on your machine.
        2. Yes, you can use a text editor to change all of the workspaces.
(Several text editors were suggested)

        I'll put a excerpts of the responses below the question.

        Thanks,

        Phil 
        Salt Lake City

        QUESTION:
> My IT guy sprung a little surprise on me this morning.  Tomorrow he
> intends
> to transfer the directories containing 90% of my MapInfo data and
> workspaces
> to another server.  Obviously all of the workspaces will now be looking
> for
> TABs in all the wrong places. :-)  Our number 1 solution at the moment is
> to
> remap the new server using the same letter that designated the old server.
> 
> 
> Is there anyone out there who can warn me of the pitfalls we might run
> into?
> Is there a batch editting method (to edit each individual workspace) that
> might be better to use?
> 
        ANSWERS:
Type 1 Answer.
*We just switched servers last week,
remapped the new server as the old drive letter, and maintained all
directory structures. So far so good.

*(Changing the drive letter on your machine) This is your best bet. Then it
is transparent to your previous work.


Type 2 Answer.
*Look for text editor (we use MultiEdit from American Cybernetics) that
can do multi-file search&replace.

*I have even opened some of my workspaces and edited them to show the UNC
instead 
of a drive letter (like \\ACTUARY\MAPS\county.tab ).

*The few times which i have done this, I have used textpad
(http://www.textpad.com) to do a bulk change on all the workspace files.
It's very good in that it can change all the open files at once.  The
other thing I do here is use the UNC(?) path rather than the drive
letter, eg //server1/Gis/Layers/.  Saves problems with people having
different drive maps.

*We have a piece of software Called SemWare Editor Professional.  I was able
to call up all 4500 workspaces and globally edit the drives.  It took just a
matter of minutes.  An example of what I would do was have the software
search for "N:\  and have it replace it with "Q:\  ...and with in seconds it
was done. 
SemWare Corporation 
Home Page:  <http:/www.semware.com> 
 
*A utility called Search and Replace can be found at the following site.
http://www.funduc.com    This allows you to globally batch edit your
workspaces. Dirt cheap at $25.
There is also an option within the program to NOT change the file date/time.

*I had data for a couple of projects that was all organised
under a top-level directory for the project (ie arranged in subfolders) such
that I had workspaces in one folder, different data from various sources in
others.  I used Ultra Edit to open the workspaces and change the absolute
paths in the workspace files to relative paths: Eg. from
d:\projects\myproject\data...
To ..\data (where the workspaces were in a directory at the same level as
the data directory in the directory tree). Ultra-edit doesn't allow batch
editing of files, but you can open files in
different Windows and retain the search and replace strings between files.
This also works pretty well for placing workspaces and data on CD-ROM (just
remember to make sure that no tables opened by the workspace are set to
editable first).

*Another solution is a nice piece of shareware Michael O'Toole (4th Beach
Software, Melbourne Australia) was working on called Workspace Control which
is designed to make the task of moving workspaces much easier.  I was using
a beta of the program and found it very useful
.......... company in Victoria, Australia is about to ship a product called
Wrokspace Control 1.0...Rather than go into the details I will direct you
to their website for more info. Its quite cheap (<US$70) and provides a
user friendly interface to edit worspace content and paths for tables
within them.        http://www.4thbeachsoftware.com/

*I use a good text editor like Aurora, TextPad or HomeSite which allows you
to do multiple file search & replace, preferably with regular expression
searching. One of the pitfalls is the text you add to layouts is contained
within the
workspace file. So if you have a feature named "Mount Rama" and a drive path
of "M:\Rama\data\" and you S&R "Rama" with "Botha" your new path of
"M:\Botha\data\" will be correct, but you will also have changed the name of
Mount Rama...

*I have written a MapBasic application that, among other things, verifies
workspace files and notifies the user which files can't be found.  
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to