[REBOL] Re: How to access files ' properties under Windows
From: anton:lexicon at: 20-Apr-2002 2:58
I have a demo program here:
http://anton.idatam.com.au/rebol/util/demo-show-file-modes.r
Rebol.com/Sites/Anton/Util/demo-show-file-modes.r
Actually, I would like to take this opportunity to
ask people out there on the list from different
platforms than mine to test this.
I have Win2k.
I would like someone with Amiga, linux, mac etc.
to try it out and report any problems.
The window is supposed to show whichever modes
are supported by the OS it's on, and allow you
to modify them.
But I know my code doesn't handle certain datatypes
(I am not even sure which datatypes are going to
show up.) At least string! can be found in
the file comment on Amiga, for instance, and I
don't handle it very well.
Note, to see the available file-modes the OS supports:
probe modes: get-modes %afile 'file-modes
and then to see the file-modes of a file:
probe get-modes %afile modes
Regards,
Anton.