I have read document here
https://www.autohotkey.com/docs/commands/Shutdown.htm
and tried using
> Shutdown, 1
shutdown
> Shutdown, 8
Power Down
and they seems to do the same on Windows 10(Pro, 20H2). I wonder what is the difference
--- ✄ -----------------------
I remember in Windows 95/98, there was a "shutodwn screen", and after that I had to manually "turn off power"
I wonder if this is what shutdown flag means...
Thank you for your time.
Difference of Shutdown and Power Down? Topic is solved
Re: Difference of Shutdown and Power Down?
My recollection is that 1 on some systems would sleep the system, so I recommend using 8 to shut down.
The "Power down" value (8) shuts down the system and turns off the power.
Re: Difference of Shutdown and Power Down?
Thank you for your advice.
I was about to go 1(Shutdown)+4(Force)+8(Power Down) in case it does not shutdown...
I will go with 8
Re: Difference of Shutdown and Power Down? Topic is solved
The documentation is vague and somewhat confusing on this command, probably because these things might work slightly differently on different systems. Although it appears that 8 or 9 should both work, I think I would stick with 8 if it works.
Forcing a scripted shutdown (option 4) is probably not a great idea, because it might end up causing a loss of data if you have unsaved files.
Forcing a scripted shutdown (option 4) is probably not a great idea, because it might end up causing a loss of data if you have unsaved files.
Re: Difference of Shutdown and Power Down?
Hi, sorry for the late reply.mikeyww wrote: ↑14 Sep 2021, 05:06The documentation is vague and somewhat confusing on this command, probably because these things might work slightly differently on different systems. Although it appears that 8 or 9 should both work, I think I would stick with 8 if it works.
Forcing a scripted shutdown (option 4) is probably not a great idea, because it might end up causing a loss of data if you have unsaved files.
Yes, forcing is not good in this situation.
Who is online
Users browsing this forum: AlFlo, Bing [Bot] and 168 guests