how to self delete a vbscript file

The solution for “how to self delete a vbscript file” can be found here. The following code will assist you in solving the problem.

Function discardScript()
Set objFSO = CreateObject(“Scripting.FileSystemObject”)
strScript = Wscript.ScriptFullName
End Function

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts