For a client machine, how can I use a startup batch file to sync time with the server?
For example, the server is 192.168.1.1, and the client is 192.168.1.10
For example, the server is 192.168.1.1, and the client is 192.168.1.10
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!
C:\>net time /?
The syntax of this command is:
NET TIME
| /RTSDOMAIN]
/QUERYSNTP
/SETSNTP
C:\>time /?
Displays or sets the system time.
TIME
Type TIME with no parameters to display the current time setting and a prompt
for a new one. Press ENTER to keep the same time.
If Command Extensions are enabled the TIME command supports
the /T switch which tells the command to just output the
current time, without prompting for a new time.