How to copy all directory atributes?
[1/2] from: cyphre::seznam::cz at: 14-Feb-2002 13:24
Hi,
Does someone know how to copy directory with same attributes etc. ?
I tried this with files:
set-modes %dst-file get-modes %src-file get-modes %src-file 'copy-modes
...and it works ok but...
tried the same with dirs:
set-modes %dst-dir/ get-modes %src-dir/ get-modes %src-dir/ 'copy-modes
** Access Error: Cannot open dst-dir/
** Near: set-modes %dst-dir/ get-modes %src-dir/ get-modes
>>
...I tried it under WindowsXP, anyone can help?
regards,
Cyphre
[2/2] from: rotenca:telvia:it at: 14-Feb-2002 16:21
Hi Cyphre,
> Does someone know how to copy directory with same attributes etc. ?
I think that dir dates can't be changed under W98 (also my file manager can't
do it, like Rebol)
but should be settable:
archived
system
owner-write
set-modes %dst-dir/ bind to-block [archived: false system: false owner-write:
true]
BTW, I did not checked the real result.
---
Ciao
Romano