Home > Archive > FoxPro Help and Support > October 2005 > read only file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author read only file
ghj

2005-10-28, 8:24 pm

How can I tell if a file is marked as 'read only'

Thanks


Fred Taylor

2005-10-28, 8:24 pm

You can use the ADIR() function. If the 5th element for a file in the
returned array has an "R", it's read-only.

ADIR(ax,"x.x")

?ax[1,5] && "RA..." - read only and archive attributes set.

--
Fred
Microsoft Visual FoxPro MVP


"ghj" <ghj@ghj.com> wrote in message news:dpw8f.42$UW5.41@trndny09...
> How can I tell if a file is marked as 'read only'
>
> Thanks
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com