Hi Matt!

The only file in a MapInfo tab fileset which is referenced in a workspace file is the *,tab file itself, but with no extension.
For example
Open Table "C:\blah blah...\mytabfile" As mytabfile
will look for the file mytabfile.tab in the given path

The tab file is a kind of pointer to the other files needed to complete the data set.
Note that the data set can be a raster file, an excel file or even a shape file, and not only a proprietary MapInfo geodatabase.
That said, what you need to look for is the tabfile 'mytabfile' in your workspace files, You can use the F3 search function in Windows Explorer, point it at the right disk or folder and look for *.wor files containing 'mytabfile'.

Now, this may not work at first because of a known bug in XP.
The extension 'wor' may not be known to XP in the sense it needs to be known for an in-file string search.
Microsoft has suggested a fix for this, see
http://support.microsoft.com/kb/309173

Qualified text editors, such as UltraEdit use to have a function to search for strings within files on disk. Coupled with a replace function, it is one of my tools to repair workspaces where tabfiles have been relocated.

Hälsning / Best regards Mats.E
________________________
FB Engineering AB
Södra Förstadsgatan 26
211 43 Malmö

Tel: 040-660 25 50
Mobil: 0705-27 60 27
Fax: 040-660 25 99
[EMAIL PROTECTED]
www.fbe.se



Matt K <[EMAIL PROTECTED]>
Sänt av: [EMAIL PROTECTED]

2006-07-31 22:53

Till
[email protected]
Kopia
Ärende
[MI-L] How to use .TAB files to identify corresponding workspace?





Hello all,
 
 
I am curious if there is a way to use one of the 5 files associated with a .tab file to identify which workspace it is attached to?  I would like to delete some files, but am not sure if they are part of a workspace, and therefore would have to re-locate those deleted files if I were to open the workspace they are saved to.
 
Thanks
 
 

 


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less._______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to