I need to delete a folder off the "c" drive that I created. I wanted to see if anyone could help with writing a script to remove this. Thanks
I need to delete a folder off the "c" drive that I created. I wanted to see if anyone could help with writing a script to remove this. Thanks
0 Comments
[ + ] Show comments
Answers (3)
Answer Summary:
Below is the VBScript: Option Explicit On Error Resume Next Dim wshShell, DelFolder Set wshShell = CreateObject("Scripting.FileSystemObject") Set DelFolder = wshShell .GetFolder("C:\Folder\") DelFolder.Delete Set wshShell = nothing
Below is the VBScript: Option Explicit On Error Resume Next Dim wshShell, DelFolder Set wshShell = CreateObject("Scripting.FileSystemObject") Set DelFolder = wshShell .GetFolder("C:\Folder\") DelFolder.Delete Set wshShell = nothing
Please log in to answer
Posted by:
andemats
11 years ago
Posted by:
chucksteel
11 years ago
What technologies do you have available? Are you just talking about removing the folder from one machine or multiple? Are you working with the K1000 and want to write a script using it?
Please consider adding the appropriate tags to your post that will help others answer your question and also find it later if they have the same question later.
Posted by:
akki
11 years ago