China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

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!

中国DOS联盟论坛
The time now is 2026-08-06 07:26
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » System Shutdown Management → VBS Edition View 2,747 Replies 16
Original Poster Posted 2007-03-17 05:01 ·  中国 河北 保定 联通
银牌会员
★★★
Credits 1,513
Posts 554
Joined 2005-12-30 00:50
20-year member
UID 48180
Gender Male
Status Offline
Actually I only thought of making this after getting hit by a virus once. That virus kept bringing up a 60-second shutdown countdown, not even giving you a chance to search for it or analyze it. To save the keyboard input process, I made it into a hotkey, and it also makes it easy for people who don't know command-line usage to quickly cancel the shutdown countdown.
When the shutdown countdown window appears, press: Ctrl+Alt+↑ to immediately cancel the shutdown countdown.

I won't explain the other usage methods, just look at the pictures.

[ Last edited by baomaboy on 2007-3-17 at 01:22 PM ]
Attachments
Manage_WinPower.rar (31.43 KiB, Downloads: 105)
1.GIF
3.GIF
Floor 2 Posted 2007-03-17 05:15 ·  中国 浙江 宁波 电信
中级用户
★★
Credits 385
Posts 156
Joined 2007-01-19 02:32
19-year member
UID 76955
Gender Male
Status Offline
Can you post the source code so we can learn from it??
Floor 3 Posted 2007-03-17 05:21 ·  中国 广东 东莞 电信
初级用户
Credits 107
Posts 48
Joined 2006-11-30 12:06
19-year member
UID 72174
Gender Male
Status Offline
Originally posted by heicai at 2007-3-16 04:15 PM:
Can you post the source code so we can learn from it??





The OP posted an attachment!
Floor 4 Posted 2007-03-17 05:24 ·  中国 浙江 宁波 电信
中级用户
★★
Credits 385
Posts 156
Joined 2007-01-19 02:32
19-year member
UID 76955
Gender Male
Status Offline
Originally posted by ieutk at 2007-3-16 04:21 PM:





The OP posted an attachment!
There seems to be a lot of garbled text inside
Floor 5 Posted 2007-04-13 14:12 ·  中国 河北 保定 联通
银牌会员
★★★
Credits 1,513
Posts 554
Joined 2005-12-30 00:50
20-year member
UID 48180
Gender Male
Status Offline
Floor 6 Posted 2007-06-13 19:06 ·  中国 广东 深圳 宝安区 电信
新手上路
Credits 15
Posts 7
Joined 2006-06-23 13:36
20-year member
UID 57456
Status Offline
Am I really that hopeless? Out of all that code, I can understand less than one-thousandth of it..
Floor 7 Posted 2007-06-13 19:13 ·  中国 广东 广州 鹏博士宽带
初级用户
★★
Credits 176
Posts 78
Joined 2007-04-15 10:53
19-year member
UID 85268
Gender Male
Status Offline
Salute to the OP!!
You worked hard to make this, and even shared the source code for everyone to learn from.
A role model!
PS: By the way, let me say a couple more things — those works from ** Technology before were all posted by you, right? Could you also share the source code for those so we can study them too..
Floor 8 Posted 2007-06-13 19:35 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
shutdown -a cancels it, doesn't it
Floor 9 Posted 2007-06-13 23:12 ·  中国 江苏 南京 电信
银牌会员
★★★
Credits 1,513
Posts 554
Joined 2005-12-30 00:50
20-year member
UID 48180
Gender Male
Status Offline
Yes, if you just want a timed shutdown, at Time ShutDown -s will do it.

If you want to make a hotkey, just create a shortcut and set it yourself in the right-click properties.

If you're ignorant and only interested in having fun, then you can consider taking a look ^_^
Floor 10 Posted 2007-06-13 23:13 ·  中国 江苏 南京 电信
银牌会员
★★★
Credits 1,513
Posts 554
Joined 2005-12-30 00:50
20-year member
UID 48180
Gender Male
Status Offline
Originally posted by Vampire at 2007-6-13 19:13:
Salute to the OP!!
You worked hard to make this, and even shared the source code for everyone to learn from.
A role model!
PS: By the way, let me say a couple more things — those works from ** Technology before were all posted by you, right? Could you also share the source code for those so we can study them too..


There's nothing to see, just a pile of junk...
Floor 11 Posted 2007-06-13 23:50 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 906
Posts 346
Joined 2006-07-10 09:58
20-year member
UID 58334
Gender Male
Status Offline
baomaboy has another new work out, supporting it
Floor 12 Posted 2007-06-15 01:49 ·  中国 北京 北京京宽网络科技有限公司
新手上路
Credits 2
Posts 1
Joined 2006-06-08 19:25
20-year member
UID 56757
Status Offline
Recommended VBS code editors and learning materials
Floor 13 Posted 2007-06-16 15:06 ·  IANA 局域网IP(Private-Use)
新手上路
Credits 16
Posts 8
Joined 2007-06-04 21:57
19-year member
UID 90264
Gender Male
Status Offline
I can't make sense of it, need to study it properly
Floor 14 Posted 2007-06-16 15:20 ·  中国 新疆 乌鲁木齐 天山区 电信
高级用户
★★★
Autowalk
Credits 845
Posts 375
Joined 2007-03-03 01:58
19-year member
UID 80606
Gender Male
Status Offline
Haven't been here for a few days and brother baoma has already put out another major work. I've been studying C lately, hehe, so I haven't been coming here much. Every time I come on, I get to see baomaboy's new work
你好,脚本专家!
<a target=blank href=tencent://message/?uin=29654761&Site=www.111.com&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:29654761:5 alt="点击这里给我发消息"></a>
Floor 15 Posted 2007-06-16 16:38 ·  中国 湖北 武汉 电信
中级用户
★★
Credits 301
Posts 135
Joined 2007-05-15 16:49
19-year member
UID 88615
Gender Male
Status Offline
The road of programming gets longer and longer; the longer it gets, the more refined it becomes, and the more refined it becomes, the longer it gets.
Since I'm still a newbie, it's impossible for me to fully understand it right now. To fully understand it would take several days. If I could write something like this, even tofu could kill people when thrown
What else is there to say, how many more tears are there to shed — I am already completely and utterly in awe of baomaboy~~~!
Forum Jump: