![]() |
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-03 16:10 |
48,038 topics / 350,123 posts / today 0 new / 48,251 members |
| DOS批处理 & 脚本技术(批处理室) » Modify system time with batch processing. |
| Printable Version 2,086 / 8 |
| Floor1 microsoftxly | Posted 2007-03-02 19:54 |
| 新手上路 Posts 6 Credits 18 | |
|
The client machine times in our internet café are inconsistent. Originally, the overnight time is from 12 PM to 8 AM. But the client machine is already at 24:00, while the cash register is still 2 minutes behind. As a result, customers log off before 8 AM and are charged per hour. The customers are very unhappy and I also feel sorry for them. Could any expert please write a batch script to adjust the time to be consistent with the cash register? Thanks!
|
|
| Floor2 a11yesno | Posted 2007-03-02 19:58 |
| 新手上路 Posts 6 Credits 18 | |
|
Time synchronization http://www.hanzify.org/index.php?Go=Show::List&ID=9941
|
|
| Floor3 tested | Posted 2007-03-03 10:29 |
| 新手上路 Posts 4 Credits 10 | |
|
Install a system of version 2000 or higher on the cash register. After the client machine starts, just execute `net time \\cash_register_IP /set /yes`.
|
|
| Floor4 youkkk | Posted 2007-03-03 10:37 |
| 中级用户 Posts 119 Credits 274 | |
|
net time \\ip /set /y
|
|
| Floor5 zhoushijay | Posted 2007-03-03 11:20 |
| 高级用户 Posts 375 Credits 845 | |
|
Then how can we make the client run the net time command every time it connects to the server?
|
|
| Floor6 chainliq | Posted 2007-03-03 13:39 |
| 高级用户 Posts 244 Credits 635 From 广西贵港 | |
|
Save the above as "Synchronize Time.CMD" and then put it in the startup of the following machine.
|
|
| Floor7 zhoushijay | Posted 2007-03-04 09:48 |
| 高级用户 Posts 375 Credits 845 | |
|
What if the network isn't connected when starting up?
|
|
| Floor8 tywb | Posted 2007-03-04 11:08 |
| 新手上路 Posts 3 Credits 8 | |
|
You can use the delay command.
|
|
| Floor9 microsoftxly | Posted 2007-03-07 17:00 |
| 新手上路 Posts 6 Credits 18 | |
|
There are more than 400 machines. How long would it take to put them one by one? Also, it's troublesome to uninstall the restore.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |