Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Net Time batch file

Status
Not open for further replies.

Pccoordinator

IS-IT--Management
Feb 22, 2000
101
US
I need to write a batch file to autosync server time with client PC's what is the format to tell the system Yes?

net time \\alpha5 /set

after this command the system pauses for a "Y" how do I tell the system to accept?

Thank You
 

The correct command is:-

net time \\servername /set /y

Grimmy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top