>>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).
Good point. This command was a one-time deal, though.
If it's not broken, fix it until it is.
My Blog