View Single Post
  #2  
Old 02-01-2007, 04:26 AM
tom kirkman's Avatar
tom kirkman tom kirkman is offline
Registered User
 
Join Date: Oct 2002
Location: Perrysburg, Ohio
Posts: 397
Re: batch translation help .mi to .dwg

This is from esupport on the CoCreate website.

Knowledge Gate


How to create a batch file for batch translation on a Windows system

Problem:

How to easily create a translator batch file automatically in case you have multiple files in multiple directories.
Valid for Windows operating systems.


Solution:

Go to the Windows command prompt, then change to the drive (e.g. C: )or path from which you want to get the list of all MI-files and enter the following command:

dir *.mi /b /s > C:\temp\batch.txt

This command redirects all MI-files of the choosen drive to the file C:\temp\batch.txt.

Please note: an empty file with this filename has to be created in advance.
Of course other filenames and paths can be choosen.

sample of the content of the resulting batch-file:
C:\temp\test.mi
C:\MISC\12345.mi
C:\ProgramFiles\CoCreate\ME10\xyz.mi

Now simply run the "dxf dwg translator" in the CoCreate start menu and select batch translate, then give the name of the file.

If you are using only one directory, drop the /s switch.

Tom
Reply With Quote