中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-26 15:00
47,812 topics / 349,910 posts / today 0 new / 48,264 members
其它操作系统综合讨论区 » How to make a DOS script run before shutting down or logging off?
Printable Version  1,938 / 2
Floor1 yaoview Posted 2008-07-29 12:01
初级用户 Posts 6 Credits 21
May I ask: I wrote a small script in DOS. The purpose is to pop up a dialog box to remind if the USB flash drive is plugged into the computer when shutting down. I used the shutdown script, but the dialog box (MSG) can't pop up. I see that the main reason is that it logs off before shutting down. Please help the expert come up with a solution.
Floor2 yaoview Posted 2008-07-31 14:56
初级用户 Posts 6 Credits 21
怎么没人解答?有知道的高手帮帮忙,谢谢!
Translation: Why is there no one to answer? If there are any knowledgeable experts, please help, thank you!
Floor3 wqbzyyer Posted 2010-07-22 20:23
新手上路 Posts 3 Credits 3
It can be solved by using the strategy editor. Both power - on and power - off are okay.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023