CMD

Read each line from a file and execute

Show the time/date on servers listed in the servers.txt file

@echo off
for /f "delims=" %%a in (servers.txt) DO (
net time \\%%a
)
Pause
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License