中国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-09-15 12:06
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS批处理 & 脚本技术(批处理室) » [Share] VBS Timer Reminder
Printable Version  2,409 / 7
Floor1 newxso Posted 2009-02-04 22:26
初级用户 Posts 101 Credits 73 From GZ
Although this timing reminder has low technical content, some of the techniques in it are still worth referring to:

Instructions:
In the code, many places use the form of combining multiple lines of code into a single line (adding an English colon at the end of each line can combine multiple lines). In addition to being able to shorten the length of the script code, the most important thing is that it can improve the execution speed of the code a bit. The automatic startup of this program borrows the explorer.exe process to start, so this program's startup item is not seen in msconfig. In addition, the process name wscript.exe is modified to expl0rer.exe (change the letter o to the digit 0) to achieve a simple hidden startup effect.

(Since this program will modify the startup item in the registry, the anti-virus software will protest. It is not that this program has a virus. Of course, self-copying and hidden automatic startup, etc., are common for viruses.)

2009.12.11 Update Instructions:
1) Modify the restricted boot period to be accurate to minutes (previously accurate to hours).
2) Increase the judgment of logoff or restart (taking less than 5 minutes as the criterion), and continue the unused time last time after restart.
3) Add restricting the startup of specified programs (processes) in specified periods.
4) When executing the configuration program, clicking "Cancel" cancels this item.
5) Enter x during the configuration process to exit the configuration program and uninstall this program.

2010.10.8 Update Instructions:
Modify the time calculation method to facilitate the calculation of time differences across days. For example, you can set the restricted computer boot and prohibit the startup period of some programs as: 23:00:00 --- 6:30:00, where the latter is already the morning of the next day relative to the former. Some places are also modified, such as automatically uninstalling the program when clicking the cancel button of the dialog box during the setting process, and adding display of the countdown to shutdown. To use the new version, please download the attachment. Keeping the old version is to facilitate everyone's research.

[ Last edited by newxso on 2010-10-8 at 22:27 ]

Attachments
定时提醒器.rar (10.99 KiB)
Floor2 yishanju Posted 2009-02-05 10:13
银牌会员 Posts 1,357 Credits 1,488
I'm learning VBS. Does the thread starter have any VBS tutorial materials that can be shared with me? Thanks.
Floor3 newxso Posted 2009-02-05 10:31
初级用户 Posts 101 Credits 73 From GZ
Floor4 mgq Posted 2009-02-05 10:57
中级用户 Posts 103 Credits 206 From 广东 肇庆
Virus, I was badly messed up by the thread starter.
Floor5 523066680 Posted 2009-02-05 11:03
银牌会员 Posts 1,133 Credits 2,361
re 2nd floor

I have collected some VBS materials here

http://www.ys168.com
In the tutorial\Script directory

The good stuff posted on the third floor, add points, thank you for sharing! (Not enough points, will add later.)

[ Last edited by 523066680 on 2009-2-5 at 11:06 ]
Floor6 HAT Posted 2009-02-05 11:07
版主 Posts 5,017 Credits 9,023
Which one is the virus?
Floor7 yishanju Posted 2009-02-05 13:04
银牌会员 Posts 1,357 Credits 1,488
Originally posted by 523066680 at 2009-2-5 11:03:
re 2楼

I have collected some VBS materials here

http://www.ys168.com
In the tutorials\Script directory

The good stuff posted on the third floor, add points, thank you for sharing! (Points are not enough, to be ...

Dumb, give me the Yongs硕 home page, how do I find it
Floor8 mgq Posted 2009-02-07 10:48
中级用户 Posts 103 Credits 206 From 广东 肇庆
sorry, the landlord.
It's that I didn't see your code clearly and mistakenly thought it was a virus. sorry.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023