erikhertzel
MIS
I have the following bat file I am running and it does not work quite right (it's a bat file that I want to schedule to run using Windows scheduler):
del D:\directory\*.* /Q /S
pause
This works great except that I have a subdirectory in this directory called the date like this:
D:\directory\021207\
This '021207' directory contains a zip file with several items in the zip file.
The data in the subdirectory deletes just fine, but the actual directory '021207' does not delete, just the data in it. The empty sub directory will not delete, that is my issue, the empty sub directory.
Anybody have any ideas?
Thanks,
Erik
del D:\directory\*.* /Q /S
pause
This works great except that I have a subdirectory in this directory called the date like this:
D:\directory\021207\
This '021207' directory contains a zip file with several items in the zip file.
The data in the subdirectory deletes just fine, but the actual directory '021207' does not delete, just the data in it. The empty sub directory will not delete, that is my issue, the empty sub directory.
Anybody have any ideas?
Thanks,
Erik