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:

Administrator
All Users
Default user
Network Service
Local Service

jswissmochaAsked:
Who is Participating?
 
MilanKMCommented:
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.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnofftalk/html/office09072000.asp

http://www.cruto.com/resources/vbscript/vbscript%2Dexamples/storage/folders/

Thanks
MilanKM
0
 
MilanKMCommented:
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

Thanks
MilanKM
0
 
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.  
0
 
MilanKMCommented:
>> " 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.

Thanks
MilanKM
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.