![]() |
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-08 16:17 |
47,811 topics / 349,895 posts / today 0 new / 48,253 members |
| DOS批处理 & 脚本技术(批处理室) » [Help] Anti-addiction system in a pure batch file under the CMD environment |
| Printable Version 2,126 / 19 |
| Floor16 chishingchan | Posted 2008-04-10 00:28 |
| 银牌会员 Posts 538 Credits 1,284 | |
|
I read this thread: http://www.cn-dos.net/forum/viewthread.php?tid=38025&fpage=1###
It should be a big help! |
|
| Floor17 lotus516 | Posted 2008-04-10 12:44 |
| 高级用户 Posts 246 Credits 551 | |
|
I think you’re overcomplicating it. Time can completely be handled like this:
SET a=123456789012345678901234567890 set time=%a~1,2%:%a~11,2% and so on! |
|
| Floor18 121872020 | Posted 2008-05-17 18:02 |
| 新手上路 Posts 15 Credits 8 | |
| Floor19 121872020 | Posted 2008-05-17 18:03 |
| 新手上路 Posts 15 Credits 8 | |
|
Bump again~ nice~~
|
|
| Floor20 everest79 | Posted 2008-05-17 19:53 |
| 金牌会员 Posts 1,127 Credits 2,564 | |
|
Windows itself already has the functions you want.
The time definitions and time policies are quite complete; it’s just that on PC operating systems these are all disabled by default. For example, in Local Policy you can lock the time calibration owner, lock the time server, boot-time synchronization and so on. If used in an integrated environment, there are even stricter time restriction policies and methods. |
|
| Prev 1 2 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |