Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting Hidden Files
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00402338
Message ID:
00402403
Views:
14
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform