Page 1 of 1 |
|
|
Back to top |
|
 |
|
Posted: Thu, 24th Jan 2008 19:39 Post subject: |
|
 |
|
|
Back to top |
|
 |
$en$i
VIP Member
Posts: 3127
|
Posted: Thu, 24th Jan 2008 21:02 Post subject: |
|
 |
BaRRoS wrote: | shutdown -a | I quoted that yesterday but after trying it didn't work. It works only when there is some countdown while there is an info or not on why it is shutting down etc.
e.g. it will work after the command below but not during a normal shutdown, for the latter if you try to abort that way shutdown.exe will simply crashes under xp and vista.
shutdown -r -t 10 -c "rebooting in ten seconds"
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
nouseforaname
Über-VIP Member
Posts: 21306
Location: Toronto, Canada
|
|
Back to top |
|
 |
Rinze
Site Admin
Posts: 2343
|
Posted: Mon, 28th Jan 2008 23:13 Post subject: |
|
 |
What you can do is have a background application that's slow at shutting down, maybe 8 seconds or so (not too long or it will be forced closed). That can cancel the shutdown if a specific key is pressed.
This will only give you time until all applications are closed. After that you can't cancel anymore.
|
|
Back to top |
|
 |
$en$i
VIP Member
Posts: 3127
|
Posted: Tue, 29th Jan 2008 04:09 Post subject: |
|
 |
You can still create the two shortcuts on your desktop, one that you will always use for shutting down (e.g.: shutdown -s -t 5 -c "shutting down in 5 seconds") and one for aborting (shutdown -a). :/
|
|
Back to top |
|
 |
|
Posted: Tue, 29th Jan 2008 12:46 Post subject: |
|
 |
Yap, its possible, I've created a small .NET app that just stays there waiting for the shutdown. When it receives the Windows shutdown event it displays a box with a button (and a timer) for you to cancel the shutdown.
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
$en$i
VIP Member
Posts: 3127
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
Page 1 of 1 |
All times are GMT + 1 Hour |