VB Script needed to delete all folders in C:\Documents and Settings except specific folders

I am new at scripting and I need a Visual Basic Script to delete all folders in c:\Documents and Settings Except:

All Users
Default user
Network Service
Local Service

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi jswissmocha,

As per EE rules we can't do the homework for you. Ofcouse we can provide help. So see the links below where you can see numbers of VBA realted to your problem. Then do it yourself.




Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Also see the following link as you said ur new to VB Scripting, it will help u to learn through examples.. http://www.cruto.com/resources/vbscript/vbscript-examples/vbscript-sitemap.asp

jswissmochaAuthor Commented:
Thanks for your help, but this is not homework.  I have recently graduated and I am working on a new job as a Technical Analyst, unfortunately my cirriculum did not require me to know programming.  
>> " I need a Visual Basic Script to delete all folders ..." This type of question leads to the point that, you need that we will do the coding. Anyways, if above links are not helpful to figure out the problem, then I'll suggest you to move/ post a link of this question at VisualBasic T.A. where you'll get better responses.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Theory

From novice to tech pro — start learning today.