Scott, Joel, thanks for your notes. It's being more or less what I expected. I have a sneaking suspicion that the reason why the script worked in one directory and not another is, uh, coz I executed it from that directory. I had, foolishly, assumed that if I told it to pull a file out of a specific directory listing, that it would use that file in the context of that directory. :/
> or actually change to that directory: > > change-dir %someotherdirectory/ > foreach filename read %./ [ > if dir? filename [print filename] > ] > > Hope that helps! Aye. For my purposes, that might actually be best right there, unless I just kept join'ing 'file to the end of the dir every time ;) Thanks guys. Obvious mistake once I see it. --Charles -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
