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.
vbscript to delete subfolders
Name: xscript Date: July 13, 2004 at 12:16:11 Pacific OS: Windows XP CPU/Ram: N/A
Comment:
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. I want to create a case select to check against the name of two or three folders NOT to delete but to delete any others.
My folder is called music and inside there are about 30-40 folders. I want the script to delete all of them (including all content) accept for a couple of folders called "IN" "OUT" and "TEMP"
Please could somebody point my in the right direction!!
Summary: Hello, I'm very new to scripting. I was wondering if someone could help me with a script to delete all subfolders and files within a specified folder. I have a script below which is made up of two scr...
Summary: This is what I have, it's close, but doesn't quite do what I need above: Dim fso, rootfolder, subfolder, subfolders Dim objRegEx ' Create FileSystemObject Set fso = CreateObject("Scripting.FileSystem...
Summary: 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 c...