(view source code of stime.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 sTime 2^>NUL') DO SET sTime=%%A
:: For earlier REG.EXE versions
FOR /F "tokens=3" %%A IN ('REG QUERY "HKEY_CURRENT_USER\Control Panel\International\sTime" 2^>NUL') DO SET sTime=%%A
ECHO HKEY_CURRENT_USER\Control Panel\International\sTime=%sTime%
page last modified: 2024-04-16; loaded in 0.0044 seconds