(view source code of itime.bat as plain text)
@ECHO OFF
:: For REG.EXE 3.0 (Windows XP) and later versions
FOR /F "tokens=3" %%A IN ('REG QUERY "HKEY_CURRENT_USER\Control Panel\International" /v iTime 2^>NUL') DO SET iTime=%%A
:: For earlier REG.EXE versions
FOR /F "tokens=3" %%A IN ('REG QUERY "HKEY_CURRENT_USER\Control Panel\International\iTime" 2^>NUL') DO SET iTime=%%A
ECHO HKEY_CURRENT_USER\Control Panel\International\iTime=%iTime%
page last modified: 2024-04-16; loaded in 0.0055 seconds