All Forums >> [Scripting] >> WSH & Client Side VBScript >> need help with a script i want to write..... Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Please help; I need a script that will allow me to put it in the users start up DIR so that it runs when they logon, I then want it to open a CMD file as an admin user with elevated priviledges. Once the CMD prompt I would like to be able to stop 2 services, and then delete a number of files in a location (all with the same extension) and also delete 2 directories. It then needs to start the services again and delete itself from the startup directory.
I'm not sure if I actually need the CMD part and maybe I can just stop the services in the VBS with a pause afterwards??