Keith --
At 12:52 PM 7/7/00 -0400, you wrote:
>... but I'm running into some problems.
>For some reason it isn't "recursing" and getting the subdirectories, and
>even though I have the "dir?" test in there it's still putting directories
>in 'filelist. Also, since I'm on Windows, the "file" that I get from the
>foreach at the bottom isn't good enough to put as an HTML link since it
>doesn't have the colon in it. i.e. It looks like "file:///c/blahblah"
>rather than "file:///c:/blahblah"
You probably need something like (assuming your script is sitting in the
directory you want to read:
subdirs: read %.
foreach dir ( sort subdirs ) [
if dir? dir [
files: read dir
if yaddayaddayadda
>If anyone could lend any assistance I'd be grateful. And of course if
>someone's already written a script to do exactly this, if anyone could
>point
>me to it it'd be great. Thanks!
>
>Keith
I have a script (not terribly elegant, but it works) that on-the-fly builds
a table listing a bunch of LinkScan reports, the time the reports were last
generated, and the time the LinkScan database was last generated, if
anyone's interested. (LinkScan checks links in a website, among other
website-debugging tasks.)
cheers,
Marj
--
Marjorie A. Tiefert
Principal Scientific Writer & Documentation Website Manager
Life Sciences Information Design & Delivery
Molecular Simiulations Inc (http://www.msi.com/)