Explanation:
Now games are mostly played under an XP environment, so this is called the CMD environment;
Pure batch means trying not to require third-party software support, but if there is really no way, then I’ll have to use it too;
An anti-addiction system means controlling computer usage across multiple time periods, whether programs, games, websites, etc.
Reason:
Computers are very common now, and many teenagers (the school-going kind) always play games day and night, affecting their studies. It not only affects studies, but also affects health. I’m not cut out for programming myself, so...
Reference: Computer News 2006 bound volume, page 242: “Anti-addiction tricks for computers - cleverly using ‘Scheduled Tasks’ to manage boot time”, but I still think it’s not ideal: 1. too many batch files; 2. scheduled tasks are easy to discover; 3. some functions are still lacking.
Help requirements:
1. Generate a single batch file (it can run in multi-parameter form), and make it run hidden or as a service.
2. Monitor malicious changes to the system time (it may require using a log file for time comparison)
3. When not connected to the network, handle things according to system time; when connected, support synchronizing with the time of some server on the network:
The system must have the Windows Time (W32Time) service, set to automatic
net time /setsntp:time.jmu.edu.cn ;set the time server address
net stop w32time ;stop the time service
net start w32time ;start the time service
w32tm -s ;synchronize time immediately
4. Support multiple time periods, for example: allow computer use from 9:30-11:30, 15:00-17:00, 19:00-21:00, and automatically shut down at all other times;
5. Support setting certain programs (including games), websites, etc. as forbidden to run
Because there are too many functions, if anyone feels they can’t handle all of them, replying with just a single function is also fine. Many thanks!
Now games are mostly played under an XP environment, so this is called the CMD environment;
Pure batch means trying not to require third-party software support, but if there is really no way, then I’ll have to use it too;
An anti-addiction system means controlling computer usage across multiple time periods, whether programs, games, websites, etc.
Reason:
Computers are very common now, and many teenagers (the school-going kind) always play games day and night, affecting their studies. It not only affects studies, but also affects health. I’m not cut out for programming myself, so...
Reference: Computer News 2006 bound volume, page 242: “Anti-addiction tricks for computers - cleverly using ‘Scheduled Tasks’ to manage boot time”, but I still think it’s not ideal: 1. too many batch files; 2. scheduled tasks are easy to discover; 3. some functions are still lacking.
Help requirements:
1. Generate a single batch file (it can run in multi-parameter form), and make it run hidden or as a service.
2. Monitor malicious changes to the system time (it may require using a log file for time comparison)
3. When not connected to the network, handle things according to system time; when connected, support synchronizing with the time of some server on the network:
The system must have the Windows Time (W32Time) service, set to automatic
net time /setsntp:time.jmu.edu.cn ;set the time server address
net stop w32time ;stop the time service
net start w32time ;start the time service
w32tm -s ;synchronize time immediately
4. Support multiple time periods, for example: allow computer use from 9:30-11:30, 15:00-17:00, 19:00-21:00, and automatically shut down at all other times;
5. Support setting certain programs (including games), websites, etc. as forbidden to run
Because there are too many functions, if anyone feels they can’t handle all of them, replying with just a single function is also fine. Many thanks!


