[REBOL] Directory/File issue... Re:
From: al::bri::xtra::co::nz at: 30-Sep-2000 8:41
Terry Brownell wrote:
> Q. How can I read a text file with Rebol, when I'm not sure what the file
name actually is?
> I want to process every file in the directory, but how?
>> print mold read %/c/rebol/
[%Component/ %Rebol stuff/ %Old_Rebol/ %Association/ %Site/ %Plug-in/
%Include/ %RebMail/ %Patch/ %HTML/]
>> directory: read %/c/rebol/Site/
== [%Site.r %Page/]
>> read join %/c/Rebol/Site/ first directory
^-Author: "Andrew Martin"
I hope that helps!
Caution - Jedi Knight at work...