Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
VBS to delete subfolders in folders
Name: melvin299 Date: March 28, 2009 at 09:55:26 Pacific OS: Windows XP Subcategory: General
Comment:
I am new to VBS and was wondering how you would write a script that would delete subfolders of subfolders found in a directory.... the delete would need to be by part of the name as well as the date created.
so... as an example....
folder A contains folder B folder B contains folder C
search folder A.... and within any folders in folder A ( in this case B ), search those folders for folders ( in this case C ). If the folders found contain folder C and C is older than 30 days.... delete that folder and all of it's contents....
Summary: This is an example of a batch file I am using right now. I need it to delete subfolders in the folders. It already deletes everything else, just not folders. I am not sure what extra code lines I n...
Summary: I am new to scripting and I am trying to do the following but I am getting a bit lost. I'm sure the solution is quite simple! I want to delete a number of subfolders in a folder, but not all of them. ...
Summary: Hello, I’m trying to make a bat file that will delete all files in the My Pictures and the My Music folders for a particular user. This should work for both WinXP and Win2000Pro machines. See, we h...