Hi Susan,

On UD, FILEINFO(19) returns the permissions in octal, at least when UD
is running on Unix.

Snippet from HELP FILEINFO:
FILEINFO(file.var, code)

19  Access permissions
Permissions the person running the program has expressed as total UNIX
values
(r=4,w=2,x=1, so rw= 6)

Happy Friday,
Tom

>>> [EMAIL PROTECTED] 05/24/07 4:38 PM >>>
If you do a STATUS [not to be confused with STATUS()] on a file, you can
check read-write permissions, as well as uid/gid.

type this at TCL:

>HELP BASIC STATUS

which will give you both Windows and Unix help.

HTH,
Karl

<quote who="Susan Joslyn">
>
> So now, I'm digging around looking for a command in BASIC that will
let
> you test the waters - check a file for write-ability. And I'm coming
up dry.
>
> [If you could copy me on your reply I'd appreciate not having to wait
for
> the digest. ]
>
> Susan ([EMAIL PROTECTED])
----------------------------------------- This e-mail and any attachments may 
contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If 
you are not the intended recipient, any use or disclosure of this information 
is STRICTLY PROHIBITED; you are requested to delete this e-mail and any 
attachments, notify the sender immediately, and notify the LabCorp Privacy 
Officer at [EMAIL PROTECTED] or call (877) 23-HIPAA / (877) 234-4722. 
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to