delete folder script
does anyone have script that will delete folder on the hd.... i'm using the below script...
but it gives me permission denied error... so is there way i can delete this ??? thanks
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFolder("C:\Testme")
but it gives me permission denied error... so is there way i can delete this ??? thanks
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFolder("C:\Testme")
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
rpfenninger
18 years ago
Is it really a folder underneath C:\ (root)? Could it be a permission problem? Normal users can't create/delete folders directly under C:\.
Otherwise, give me the exact location and name of the folder and I create a WiseScript (selfexecutable .exe file) for you which you could include in a .msi Custom Action.
Or what about deleting the folder through the RemoveFiles table?
Cheers
Roland
Otherwise, give me the exact location and name of the folder and I create a WiseScript (selfexecutable .exe file) for you which you could include in a .msi Custom Action.
Or what about deleting the folder through the RemoveFiles table?
Cheers
Roland
Posted by:
Godfather
18 years ago
Posted by:
aa006
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.