Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting Hidden Files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00402338
Message ID:
00402403
Vues:
15
>>>Anyone know how to delete hidden file from VFP? The DELETE FILE works for files that do not have the hidden attribute.
>>
>>Use the Scripting.FileSystemObject to remove the attribute and delete the file.
>
>Hi Ed,
>
>Just thought I'd point out that there's no need to remove the attribute first.


Sorry - force of habit - first clear the attributes back to normal using the API, then smash with a hammer.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform