From: David Alisch
Subject: Selecting and modifying multiple files in Autolisp
Date: 
Message-ID: <33F48159.4AF2@hughes.cg.hac.com>
Hi all --

My big-picture objective is to find a way to convert all the release-13
.dwg files in a directory to release 12 format using an Autlisp script. 
(we're talking over 100 files, otherwise I'd probably just do it
manually).

Now, if I have only one file to play with AND I know its name, I've got
no problem:
 
...
(command "open" "<filename>")
(command "saveasr12" "<filename>")
...

But what I want is for the script to fish out all the filenames with a
certain extension, I guess put those names in a list, and perform the
format conversion on each file.  'getfiled' would have been great if it
allowed for multiple files because it allows the user to manually select
the files before anything happens.  I also found a lisp utility that
selects multiple files that may have been helpful but it seems it's only
available on the DOS platform, and I'm using UNIX.  Does anyone have a
CLUE as to what my options are here???  ANY pointers would really be
appreciated!   Thanks!!

-- 
------------------------------------------------------------------
David Alisch      ········@hughes.cg.hac.com  |  Ph:  403/295-6648
Hughes Aircraft of Canada        Calgary, AB  |  Fax: 403/295-6676
From: Arthur and Aukje
Subject: Re: Selecting and modifying multiple files in Autolisp
Date: 
Message-ID: <01bcb0c9$55cc51e0$870ab2c2@1931>
David Alisch <········@hughes.cg.hac.com> wrote in article
<·············@hughes.cg.hac.com>...
> Hi all --
> 
> My big-picture objective is to find a way to convert all the release-13
> .dwg files in a directory to release 12 format using an Autlisp script. 
> (we're talking over 100 files, otherwise I'd probably just do it
> manually).

I don't know squat about unix but is W95 I solved the same problem by
generating a directory list of all files ending in *.dwg. I copied this
file into a MS-Word and made a small macro to add the "open" and "saveas"
commands. Saved it as a lisp and presto! it worked!

luck, Arthur