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-loop-through-files/
Daniel
--
Daniel Morissette
http://www.mapgears.com/
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/mitab/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/mitab/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/