ghudson
Registered User.
- Local time
- Today, 02:47
- Joined
- Jun 8, 2002
- Messages
- 6,194
I am using Access 97.
Using the Kill function, how can I delete files from a folder that have Hidden and/or Read-Only attributes?
I am using this but it will not remove the files(s) with Hidden and/or Read-Only attributes...
Kill "C:\My Documents\DataTest\" & "*.*"
My goal is to remove (RmDir) the "DataTest" folder but I can not do that with files in it.
RmDir "C:\My Documents\DataTest"
Thanks in advance for your help!
Using the Kill function, how can I delete files from a folder that have Hidden and/or Read-Only attributes?
I am using this but it will not remove the files(s) with Hidden and/or Read-Only attributes...
Kill "C:\My Documents\DataTest\" & "*.*"
My goal is to remove (RmDir) the "DataTest" folder but I can not do that with files in it.
RmDir "C:\My Documents\DataTest"
Thanks in advance for your help!
Last edited: