Computing.Net > Forums > Programming > vbscript to delete subfolders

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

Reply to Message Icon

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!!

Thanks

xscript



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: vbscript to delete subfolders

VBScript to delete all subfolders www.computing.net/answers/programming/vbscript-to-delete-all-subfolders/14650.html

VBScript to delete duplicate files www.computing.net/answers/programming/vbscript-to-delete-duplicate-files/17889.html

VBS to delete subfolders in folders www.computing.net/answers/programming/vbs-to-delete-subfolders-in-folders/18420.html