Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Shutdown vbscript and cancel script using notepad code in description Easy :)

Loading...

Sign in or sign up now!
3,299
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 11, 2008

1st code ( save as .vbs
--------------------------------------
set shell = CreateObject("Wscript.Shell")
shell.run "shutdown.exe -s -t 30"
Second code ( save as .bat
--------------------------------------
shutdown -a
__________________
song:

Category:

Howto & Style

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (miutubevids)

  • Nice :P <

  • @falenone11

    No worries please subscribe to my new account TechResource youtube.com/ techresource

  • Great job you do .. all i need is a cmd script for cancel computer shut down (if accidentlly happen) ... i know the formula as "shutdown -a" from command prompt but i don`t know how to create a specific script .... to put on my desktop or on my bunch of applications for permanent keepeng .. Thank you .. Reply me please

  • @sorinrockeru

    1.open notepad and paste this in:

    set shell = CreateObject("Wscript.Shell")

    shell.run "shutdown -a"

    2.Save as .vbs

    3. Subscribe to my new account TechResource :)

see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • omg have to type in start->run shutdown -a

    

  • @miutubevids Thanks .. I succed; and irony .. in the same day that script was useful .. so i added a shortcut key too

  • i modifyed your code a little so its shutting down your computer but at the same time it talks to you from the speakers and you can exit it becuase ive put another one where it says you cant get rid of me pm me for the code and then you can update this vid

    ...

  • k sweet np then

    Miuutbevids

    Subscribe

  • Actually, when I tried that .bat file again, the PC did whatever the first script did. Shutting down in 30 seconds. It seems like that .bat file I made checks for a shutdown script, which I made, and activates it.

  • hmm thats weird

    probs is a pc issue

    Miutbevids

    SuBscriBE

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more