Featured
- Get link
- X
- Other Apps
what this script does is it opens cmd, then types 'shutdown -s -f -t 10' ten in makes the computer press enter! it's cool because it looks like the pc has taken control and is shutting down your pc!
please enjoy and comment..
tell me of any bugs or Admin rights.
Step 1: How It Works
all this script uses is:
set shellobj = CreateObject("WScript.Shell") :this makes an object .. for later.
shellobj.run "cmd" :this is using the object we have just made and using it to run cmd.
wscript.sleep 2000 :this make it sleep .. here it sleeps for 2000 minisecs ..i think could be smaller.
shellobj.sendkeys "s" : this uses the object to make it type something here it would type the letter 's'.
the code is attached.
!!!!!!!! make sure you name it .vbs not .itsavbs !!!!!!!!!!
hope you like it please comment on it =]
Attachments
Be the First to Share
- Get link
- X
- Other Apps
Popular Posts
- Get link
- X
- Other Apps
Comments
Post a Comment