How to open a folder in the home directory ?

25 views
Skip to first unread message

Hans Schüren

unread,
Sep 19, 2016, 1:55:06 PM9/19/16
to REBOL
Hi there ,

how can i open a folder in the home directory ?

home directory  =  where the .r file of program is

folder =  the name of the folder is in an array ( in memory)

so i cannot write the folder name ,  but only the arrays name.


Best Regards

Hans

Gregg Irwin

unread,
Sep 19, 2016, 2:49:57 PM9/19/16
to Hans Schüren
Hi Hans,

HS> how can i open a folder in the home directory ?
HS> home directory  =  where the .r file of program is
HS> folder =  the name of the folder is in an array ( in memory)
HS> so i cannot write the file name but only the arrays name.

Can you provide a code example, showing exactly what you're trying to
do? `read %.` should give you all the files in the directory, and
`change-dir` will set the current directory.

--Gregg

Hans Schüren

unread,
Sep 19, 2016, 3:12:54 PM9/19/16
to REBOL, gregg...@gmail.com
Hello Gregg ,

sorry i have no codeexample.   read%    sounds good.

Thank you for the answer.

Regards

Hans
Reply all
Reply to author
Forward
0 new messages