Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for itime.bat

(view source code of itime.bat as plain text)

  1. @ECHO OFF
  2. :: For REG.EXE 3.0 (Windows XP) and later versions
  3. FOR /F "tokens=3" %%A IN ('REG QUERY "HKEY_CURRENT_USER\Control Panel\International" /v iTime 2^>NUL') DO SET iTime=%%A
  4. :: For earlier REG.EXE versions
  5. FOR /F "tokens=3" %%A IN ('REG QUERY "HKEY_CURRENT_USER\Control Panel\International\iTime"    2^>NUL') DO SET iTime=%%A
  6. ECHO HKEY_CURRENT_USER\Control Panel\International\iTime=%iTime%

page last modified: 2024-04-16; loaded in 0.0180 seconds