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-11-24 16:14
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] Anti-addiction system in a pure batch file under the CMD environment View 2,712 Replies 19
Floor 16 Posted 2008-04-10 00:28 ·  中国 广东 东莞 电信
银牌会员
★★★
Credits 1,284
Posts 538
Joined 2002-11-02 00:00
24-year member
UID 129
Gender Male
Status Offline
I read this thread: http://www.cn-dos.net/forum/viewthread.php?tid=38025&fpage=1###

It should be a big help!
Floor 17 Posted 2008-04-10 12:44 ·  中国 福建 三明 电信
高级用户
★★
论坛上抢劫的
Credits 551
Posts 246
Joined 2006-09-21 12:35
20-year member
UID 63270
Status Offline
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!
Floor 18 Posted 2008-05-17 18:02 ·  中国 广东 江门 中移铁通
新手上路
★
Credits 8
Posts 15
Joined 2008-04-03 12:40
18-year member
UID 114834
Gender Male
Status Offline
Floor 19 Posted 2008-05-17 18:03 ·  中国 广东 江门 中移铁通
新手上路
★
Credits 8
Posts 15
Joined 2008-04-03 12:40
18-year member
UID 114834
Gender Male
Status Offline
Bump again~ nice~~
Floor 20 Posted 2008-05-17 19:53 ·  中国 广东 广州 天河区 电信
金牌会员
★★★★
一叶枝头,万树皆春
Credits 2,564
Posts 1,127
Joined 2006-12-25 22:57
19-year member
UID 74552
Gender Male
Status Offline
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.
49206C6F766520796F752067757973 54656C3A3133383238343036373837
Forum Jump: