[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2006-05-11
6
Medium Priority
?
242 Views
Last Modified: 2013-11-12
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

0
Comment
Question by:jswissmocha
  • 3
4 Comments
 
LVL 14

Accepted Solution

by:
MilanKM earned 2000 total points
ID: 16665157
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
 
LVL 14

Expert Comment

by:MilanKM
ID: 16665170
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
 

Author Comment

by:jswissmocha
ID: 16670178
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
 
LVL 14

Expert Comment

by:MilanKM
ID: 16674503
>> " 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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Before You Read The Article Please make sure you understand these two concepts: Variable Scope (http://www.php.net/manual/en/language.variables.scope.php) and Property Visibility (http://www.php.net/manual/en/language.oop5.visibility.php).  And to …
The CRUD Functions CRUD, meaning "Create, Read, Update, Delete (http://en.wikipedia.org/wiki/Create,_read,_update_and_delete)" is a common term to data base developers.  It describes the essential functions of data base table maintenance.  This art…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question