How to rename a directory with different files in ?

20 views
Skip to first unread message

Hans Schüren

unread,
Sep 18, 2016, 11:28:58 AM9/18/16
to REBOL

Hello ,

how to rename a directory ?

But how to rename a existing directory.
In the directory are files.

The directory is a subdirectory in the Default Directory 
where the .r file is in.

Best Regards

Hans

Gregg Irwin

unread,
Sep 18, 2016, 12:31:41 PM9/18/16
to Hans Schüren
Hi Hans,

HS> how to rename a directory ?

Renaming a directory works just like renaming a file.

rename %old-name/ %new-name/

--Gregg

Hans Schüren

unread,
Sep 18, 2016, 12:46:27 PM9/18/16
to REBOL, gregg...@gmail.com
Hello Gregg ,

good to know that.

Greetings

Hans
Reply all
Reply to author
Forward
0 new messages