Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to erase file - error 1705
Message
From
05/11/2009 02:34:59
 
 
To
05/11/2009 01:55:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01433287
Message ID:
01433288
Views:
58
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform