- May
- 62
- 0
By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!Thanks for your reply -- and SYSUTILS! I think I'll go ahead and upgrade and will certainly let you know in the unlikely event there are any problems.I use the 32-bit versions with TCC v18 ... no problems. I've seen no feedback about the 64-but versions, but prior to v18, I also heard no distinctions between the 32-bit and 64-but plugins. I suspect it'll work OK.
:: Set system clock from the network timeserver provided as parameter
:: and record the resulting offset in %USERPROFILE\offset.txt
:: Requires: TCC (JP Software), SYSUTILS plugin (Vince Fatica)
:: (To run as scheduled task TCC must be the default handler
:: for .BTM files. see tccbatch.btm)
:: Must be run as admin (win7 - elevated) to set the system clock.
. . .
. . .
:: Do an autosync and output the offset
timesync /a %1
set EXITCODE=%_?
iff %EXITCODE == 0 then
set OFFSET=%@execstr[4, timesync /n %1]
if NOT DEFINED OFFSET set OFFSET=Timesync query failed!
else
set OFFSET=%@errtext[%EXITCODE]
endiff
echo %DATETIME %OFFSET ^<%1^> >> "%LOGFILE"