>Hi everybody,
>
>I've tried the following three commands in the command window:
>
>USE H:\VFPAPPS\HelpDesk\Data\users.dbf ALIAS Users IN 0
>USE S:\VFPAPPS\HelpDesk\Data\users.dbf ALIAS Test IN 0 EXCLUSIVE
>ZAP IN test
>
>The last command gave me an error that file is read-only. How can I find the read-only status on the use command?
>
>Thanks.
I would use error handling in any case, since other things may go wrong: apart from read-only, you may not have adequate permission; or there may not be enough disk space for some operations (for other cases, such as PACK, REINDEX, or adding records).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)