PDA

View Full Version : WinXP shutdown command problem



SteveV
October 13th, 2002, 12:55 PM
Bob,

Win XP (and Win 2000, I believe) include command line shut down support with every concievable option you could hope for.

Open a command prompt window and type in "shutdown" (no quotes) and XP will display all of the available command line arguments.

In short, here's what I'm doing:

1.) Create a new Girder command and select the OS->Execute action.

2.) Enter "shutdown.exe" (no quotes) in the File field.

3.) Enter the appropriate command line arquments in the Step Size field.

I use the following arguments:

System Restart:
-r -t 0
Force System Restart (no prompt to save open files):
-r -f -t 0
System Shutdown:
-s -t 0
Force System Shutdown:
-s -f -t 0
Logoff User:
-l -t 0


'shutdown' brings the computer to the 'it's now safe to turn off..' screen, but doesn't actually turn the computer off.


I have the same problem with XP even if I select "Turn Off" from the start menu. I'm convinced this has to do with APM settings but haven't been able to correct the problem yet. Oddly, it used to function properly BEFORE I disabled ACPI :mad: . I'll let you know if I have any luck correcting the problem.

Regards -- Steve



<font size=-1>[ This Message was edited by: SteveV on 2001-12-31 14:52 ]</font>

<font size=-1>[ This Message was edited by: SteveV on 2001-12-31 14:56 ]</font>

rbmcgee
October 13th, 2002, 12:55 PM
I've tried both 'shutdown' and 'poweroff' under OS tab.

'shutdown' brings the computer to the 'it's now safe to turn off..' screen, but doesn't actually turn the computer off.

'poweroff' shuts down the computer (and turns it off) as soon as girder is minimized.

Any tips??

rbmcgee
October 13th, 2002, 12:55 PM
Once again,

Thanks very much Steve.

Happy New Year :smile: