I have gotten a little further but I am still having problems. Now I can get it to look in the subfolders but it only deletes the files in the final subfolder not the ones leading up to it. here is an example:
d:\temp - it does not delete the files here
d:\temp1 - it does not delete the files...
It does not have to be vbs, I can use a cmd if someone can provide. My motive is pretty simple, there are 3 file types that need to be deleted from a bunch of systems and I was looking for a script to accomplish this task even though I am pretty much a novice when it comes to scripting.
Yes that is correct. It will only delete the files under the root of D. I would like to get it to delete the files on the root as well as the files with that extension in any subfolders of D.
Hello all, I have a script that looks for any file with a certain extention and deletes it. The problem I have is it will not look in the subfolders of the folder I have specified. I understand this is a difficult request so I am asking for help. I have pasted what I have so far below. Any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.