Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 38 Posts 15 Joined 2006-10-19 23:07 19-year member UID 67027
Status Offline
How to call the shutdown program of winxp in batch processing? That is, the three options of standby, shut down and restart that appear when XP shuts down normally.
Credits 38 Posts 15 Joined 2006-10-19 23:07 19-year member UID 67027
Status Offline
I know that shutdown can also be used to shut down the computer,
but I want to know how to implement calling the above-mentioned program.
I hope the experts can teach me.
Thank you!
Credits -49 Posts 90 Joined 2006-12-02 13:00 19-year member UID 72412 Gender Male
Status Offline
......I remembered that last time I didn't note the pronunciation code of electronixtar..
This time I remembered and noted the pronunciation code together.
Added points and collected.
Recent Ratings for This Post
( 1 in total)Click for details
Credits 859 Posts 413 Joined 2006-08-14 21:55 19-year member UID 60532
Status Offline
mshta vbscript:CreateObject("Shell.Application").ShutdownWindows()(window.close)
It would be even better if we could add code to hide the cmd box. I think it can be done with VBS.
In comparison, Taskkill /im explorer.exe is more practical!