J
JasonP
I want to write a sub that will accept a folder parameter (string, as in:
"C:\Temp") and then delete all the files in that folder. Can anyone tell me
what a simple way to accomplish this is? I don't see an obvious method for
the Directory object; I assume I could get the file list for the Directory
and then explicitly delete each file, but is there a single-command method?
Thanks!
"C:\Temp") and then delete all the files in that folder. Can anyone tell me
what a simple way to accomplish this is? I don't see an obvious method for
the Directory object; I assume I could get the file list for the Directory
and then explicitly delete each file, but is there a single-command method?
Thanks!