Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to erase file - error 1705
Message
De
05/11/2009 02:34:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01433287
Message ID:
01433288
Vues:
57
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform