|
Full Version: Self-destructing Vbs
Is it possible to self destruct VBS file without showing any popup messages etc. on screen?
I remember doing such a thing like this a long time ago, it is possible.
Heres the code CODE Sub SelfDestruct() Set objFso = CreateObject("Scripting.FileSystemObject") objFso.DeleteFile WScript.ScriptFullName Set objFso = Nothing End Sub SelfDestruct I've just tested this now at college on Win XP SP2 and there were no popups.
THx a lot, it works just fine..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
|
|