很偶然發現一個查詢註冊表的標準Windows命令行工具reg。看例子(os:Win7X64)ide
C:\Users\CHEN>reg query HKEY_CURRENT_USER\Software\Microsoft\Notepad 工具
HKEY_CURRENT_USER\Software\Microsoft\Notepad
iWindowPosX REG_DWORD 0x5a
iWindowPosY REG_DWORD 0x71
iWindowPosDX REG_DWORD 0x4d5
iWindowPosDY REG_DWORD 0x24d
fWrap REG_DWORD 0x1
StatusBar REG_DWORD 0x0
lfEscapement REG_DWORD 0x0
lfOrientation REG_DWORD 0x0
lfWeight REG_DWORD 0x190
lfItalic REG_DWORD 0x0
lfUnderline REG_DWORD 0x0
lfStrikeOut REG_DWORD 0x0
lfCharSet REG_DWORD 0x0
lfOutPrecision REG_DWORD 0x3
lfClipPrecision REG_DWORD 0x2
lfQuality REG_DWORD 0x1
lfPitchAndFamily REG_DWORD 0x2
lfFaceName REG_SZ SimSun
iPointSize REG_DWORD 0x78 命令行C:\Users\CHEN>ip