Windows xp shutdown.vbs




















I'm trying to learn a bit about VBS but I can't find any really good and very few decent sites about it. How did you aquire your knowledge about VBScript? Lol, Cheers for this, i'm able to cut and paste to make a program that asks me which of 4 options i'd like, they start talking to my friends, and it leaves enough time for it siting there they think i'm actaully talking to them and they fall for it everytime I change it often.

By iRule Follow. More by the author:. Attachments shutdown. Did you make this project? Share it with us! I Made It! EXE from SysInternal. More Terminal Server commands here. See my Terminal Server Commands page for the exact syntax. Remove [line numbers]. Found in a forum posting by Alex K. Angelopoulos on www. Shutdown to shut down the PC instead of rebooting it. Shutdown But no poweroff.

See my WSH page for examples on how to reboot or shut down remote computers too. Reboot next I've also tried using the shutdown -f -r command, and in both cases I sometimes get no response, and if I try again I get an error saying "Action could not complete because the system is shutting down" even though no matter how long I leave it it doesn't shut down, it still allows me to start new programs, and doing a shutdown -a gives the same error.

Peter Mortensen Add a comment. Active Oldest Votes. Win32Shutdown 6. Matt Hanson Matt Hanson 3, 7 7 gold badges 37 37 silver badges 61 61 bronze badges. I assume you mean Win32ShutDown? I'm with Matt, this is the way to go. MSDN details: msdn. Shell" 'restart, wait 5 seconds, force running apps to close oShell. Mike L Mike L 4, 4 4 gold badges 34 34 silver badges 51 51 bronze badges.

Jason Jason 1 1 silver badge 6 6 bronze badges. CreateObject "WScript. Shell" objShell. GSerg Ossama Ossama 21 1 1 bronze badge. Shell" Reset. Shell "shutdown -r -t 00" ' for restart Shell "shutdown -s -t 00" ' for Shutdown Shell "shutdown -l -t 00" ' for log off Shell "shutdown -a -t 00" ' for abort.



0コメント

  • 1000 / 1000