[files][attributes] Making a file hidden...
[1/4] from: Izkata:comcast at: 29-Mar-2004 21:18
Okay, I *used* to know how to do this, but I can't manage to find any help on it for
some reason..
How does Rebol make files Hidden/Read-Only/Archived/whatever else?
[2/4] from: ammon::addept::ws at: 29-Mar-2004 21:19
I believe what you are looking for is Set-Modes...
http://rebol.com/docs/words/wset-modes.html
HTH!
~~Ammon ;~>
[3/4] from: greggirwin:mindspring at: 29-Mar-2004 21:34
I> Okay, I *used* to know how to do this, but I can't manage to find
I> any help on it for some reason..
I> How does Rebol make files Hidden/Read-Only/Archived/whatever else?
SET-MODES.
>> get-modes first read %. 'file-modes
== [creation-date access-date modification-date owner-write archived hidden system]
>> get-modes first read %. 'hidden
== false
>> set-modes first read %. [hidden: true]
>> get-modes first read %. 'hidden
== true
-- Gregg
[4/4] from: Izkata:comcast at: 30-Mar-2004 5:56
YAY, Thanks! Heh, I was using Set-modes wrong or something...
No wonder I couldn't figure it out >.<