>i am getting an unexpected error on this command
>
>ERASE c:\mydirirectory\myfile.zip
>
>code 1705 file access is denied
>You have attempted to write to a file that is write-protected or open exclusively by another.
>
>In fact the file is not opened or currently being accessed.
>if i go to file properties the file is read only - if i de-select this quality the file is erased
>
>Is there a way i can bypass the error and erase the file or maybe change the property of the file to allow erase
http://www.berezniker.com/content/pages/visual-foxpro/how-change-file-attributes-programmatically
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up