J
jeffbg123
I am trying to find a batch command that takes a directory and deletes
all files in that directory, along with subdirectories, leaving an
empty top level folder.
For instance I have a directory C:\test. In C:\test there are 5 .txt
files and another directory called C:\test\t2. In C:\test\t2 there are
7 mp3 files. I want a command that will delete all of the txt files,
all of the mp3 files, and the t2 folder, leaving C:\test with no files
and no subdirectories.
Any ideas?
Thanks
-Jeff
all files in that directory, along with subdirectories, leaving an
empty top level folder.
For instance I have a directory C:\test. In C:\test there are 5 .txt
files and another directory called C:\test\t2. In C:\test\t2 there are
7 mp3 files. I want a command that will delete all of the txt files,
all of the mp3 files, and the t2 folder, leaving C:\test with no files
and no subdirectories.
Any ideas?
Thanks
-Jeff