>>>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.