Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: opening a file...

From: carl:cybercraft at: 7-Oct-2001 21:16

On 07-Oct-01, mgkiourt wrote:
> My rebol compiler is located on the C directory. A file on the C > directory can easily be opened with rebol e.g. print read > %frunlog.txt How will I open a file located in a different > directory, for example in my briefcase? Thanks.
Just give it the full path, a leading "/" being used to say it's one. ie... %/root-directory/another-directory/a-file.txt You'll probably be asked (by REBOL) if it's okay to access the file though, as the script's asking to access a file outside the REBOL sandbox. -- Carl Read