I have finally got it to work but only half way...
I get 
ERROR3... could not be open as a MapInfo dataset
Failed to open ....

I have tried two different tab files with the same result, any thoughts on
this error?
The tables are points only and also lines with points

Regards
Soren


On 10/27/08 10:07 PM, "Daniel Morissette" <[EMAIL PROTECTED]> wrote:

>  
>  
> 
> Sören Lindqvist wrote:
>> > Hello!
>> > 
>> > Can someone help me with this command. I have a folder lets say D:\Data\
>> that contains 50
>> > tab and its related files. I want all of this files to be converted to
>> mid/mif to the same folder
>> > by using a DOS batch script, then later in the process convert back to tab
>> files into the same
>> > folder with overwrite or a to a new folder for convenience.
>> > 
>> > I am not a programmer and have little experience in coding, so an easy way
>> is recommended 
>> > :)
>> > 
>> > I downloaded MITAB but I cant understand how it should be used or installed
>> > 
> 
> The tab2tab.exe program (in the MITAB Windows download package) is what
> you'd use to convert a single file between MIF and TAB formats.
> 
> e.g.
>  tab2tab.exe  source.mif target.tab
> or
>  tab2tab.exe  source.tab target.mif
> 
> Unfortunately the tab2tab program doesn't contain any logic to loop
> through all files in a directory. If you're on Windows then you can
> write a loop in a batch file to do that. The following Blog seems like a
> good tutorial:
> 
> http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-l
> oop-through-files/
> 
> Daniel


Reply via email to