Industry Online Support
Technical Forum
4/26/2007 12:11 PM | |
Posts: 17 Rating:
|
Hi all, I am trying to delete a xls document using vbscript. |
4/26/2007 12:16 PM | |
Posts: 1084 Rating:
|
You should use google for this there this is not a wincc specific question There are more then enough examples on how to delete a file using vb. Try starting here. This post (found through google) describes the KILL statement and also the file.delete method. with regards, Ikkezelf |
4/26/2007 1:23 PM | |
Posts: 1275 Rating:
|
I've used them both before, but neither in WinCC |
4/26/2007 3:02 PM | |
Posts: 1084 Rating:
|
[code] Dim fso, FileToDelete Set fso = CreateObject("Scripting.FileSystemObject") FileToDelete = "c:\asdflkasd.xls" fso.DeleteFile(FileToDelete) [/code] |
Follow us on