Is This Content Helpful?
We're glad to know this article was helpful.
How can we make this better? Please provide as much detail as possible.
Note: The information in this article applies to ArcView GIS versions 3.x only. The instructions described apply to the Avenue programming language, which is specific to the ArcView GIS application.
The System.Execute Avenue can be used to request to batch process a list of ArcInfo interchange files.
'-- This script will import allow you to import multiple e00 files. '-- All e00 files that will be imported should be in the same directory. ' '-- Set work dir to HOME and create batch file thehome = system.getenvvar("HOME") thehome.asfilename.setCWD thewdir = filename.getCWD lf = linefile.make("imp71.bat".asfilename, #FILE_PERM_WRITE) 'Get the absolute path for the location of ArcView avAbsPath=system.getenvvar("AVHOME") ' '-- Build the command line template impcmd = "\bin32\import71" pathtoe00file = msgbox.input( "Directory with *.e00 files ready for conversion to coverages", "Path:", "C:\e00_file\e_import") pathtocoverage = msgbox.input( "Directory where imported *.e00 files saved as coverages", "Path:", "C:\e00_file\e_export") aslash = "\" apathtocoverage = pathtocoverage + aslash e00list = pathtoe00file.asfilename.readfiles("*.e00") ' '-- Execute command line string for each i in e00list xString = avabspath + impcmd ++ i.asstring ++ apathtocoverage + i.AsString.basictrim(pathtoe00file, ".e00")++"/T" lf.writeelt(xstring) end lf.close system.execute(thewdir.asstring+"\imp71.bat")