| |
ehvbs
Posts: 2201
Score: 50
Joined: 6/22/2005
From: Germany
Status: offline
|
To delete a file you need a FileSystemObject, in particular its method .DeleteFile. This method takes the full file specification of the file to be deleted as its first parameter. The WScript object (WScript.ScriptFullName property) will give you the file specification of the currently running script. Use the keywords in bold to search the VBScript Docs http://www.visualbasicscript.com/fb.aspx?m=24727 , the Frequently Asked Stuff http://www.visualbasicscript.com/fb.aspx?m=47117 , and the forum (Search feature) for sample code and further explanations. Good luck! ehvbs
|
|