前一阵用Toubor C,用完之后,再打开 MS DOS有中文的地方都乱码. 我是问了好几个同事,都不知道怎么弄,
后来网上找啊找,终于找到解决方案了.就是 MS DOS属性中改一下编码. 也可以在注册表中改,不过找起来麻烦,
我就做成 注册文件了.希望能帮一下有类似问题的朋友~~~
---------------以下代码保存到记事本(不包括虚线), 扩展名改成 "reg",双击运行就行--------------------
Windows Registry Editor Version
5.00
[ HKEY_CURRENT_USERConsole ]
" ColorTable00 " = dword: 00000000
" ColorTable01 " = dword: 00800000
" ColorTable02 " = dword: 00008000
" ColorTable03 " = dword: 00808000
" ColorTable04 " = dword: 00000080
" ColorTable05 " = dword: 00800080
" ColorTable06 " = dword: 00008080
" ColorTable07 " = dword:00c0c0c0
" ColorTable08 " = dword: 00808080
" ColorTable09 " = dword:00ff0000
" ColorTable10 " = dword:0000ff00
" ColorTable11 " = dword:00ffff00
" ColorTable12 " = dword:000000ff
" ColorTable13 " = dword:00ff00ff
" ColorTable14 " = dword:0000ffff
" ColorTable15 " = dword:00ffffff
" CursorSize " = dword: 00000019
" FaceName " = ""
" FontFamily " = dword: 00000000
" FontSize " = dword: 00000000
" FontWeight " = dword: 00000000
" FullScreen " = dword: 00000000
" HistoryBufferSize " = dword: 00000032
" InsertMode " = dword: 00000001
" LoadConIme " = dword: 00000001
" NumberOfHistoryBuffers " = dword: 00000004
" PopupColors " = dword:000000f5
" QuickEdit " = dword: 00000001
" ScreenBufferSize " = dword:012c0050
" ScreenColors " = dword: 00000007
" WindowSize " = dword: 00190050
" CurrentPage " = dword: 00000000
" CodePage " = dword:000003a8
" HistoryNoDup " = dword: 00000000
[ HKEY_CURRENT_USERConsole%SystemRoot%_system32_CMD.exe ]
" QuickEdit " = dword: 00000800
" CodePage " = dword:000003a8
" HistoryNoDup " = dword: 00000000
" FontSize " = dword:000c0008
" FontFamily " = dword: 00000030
" FontWeight " = dword: 00000190
" ScreenBufferSize " = dword: 00190050
" FaceName " = " Terminal "
[ HKEY_CURRENT_USERConsole命令提示符 ]
" ScreenColors " = dword: 00000007
" PopupColors " = dword:000000f5
" ColorTable00 " = dword: 00000000
" ColorTable01 " = dword: 00800000
" ColorTable02 " = dword: 00008000
" ColorTable03 " = dword: 00808000
" ColorTable04 " = dword: 00000080
" ColorTable05 " = dword: 00800080
" ColorTable06 " = dword: 00008080
" ColorTable07 " = dword:00c0c0c0
" ColorTable08 " = dword: 00808080
" ColorTable09 " = dword:00ff0000
" ColorTable10 " = dword:0000ff00
" ColorTable11 " = dword:00ffff00
" ColorTable12 " = dword:000000ff
" ColorTable13 " = dword:00ff00ff
" ColorTable14 " = dword:0000ffff
" ColorTable15 " = dword:00ffffff
" InsertMode " = dword: 00000001
" QuickEdit " = dword: 00000001
" FullScreen " = dword: 00000000
" ScreenBufferSize " = dword:012c0050
" WindowSize " = dword: 00190050
" FontSize " = dword: 00100008
" FontFamily " = dword: 00000030
" FontWeight " = dword: 00000190
" FaceName " = " Terminal "
" CursorSize " = dword: 00000019
" HistoryBufferSize " = dword: 00000032
" NumberOfHistoryBuffers " = dword: 00000004
" HistoryNoDup " = dword: 00000000
" CodePage " = dword:000003a8
[ HKEY_CURRENT_USERConsole ]
" ColorTable00 " = dword: 00000000
" ColorTable01 " = dword: 00800000
" ColorTable02 " = dword: 00008000
" ColorTable03 " = dword: 00808000
" ColorTable04 " = dword: 00000080
" ColorTable05 " = dword: 00800080
" ColorTable06 " = dword: 00008080
" ColorTable07 " = dword:00c0c0c0
" ColorTable08 " = dword: 00808080
" ColorTable09 " = dword:00ff0000
" ColorTable10 " = dword:0000ff00
" ColorTable11 " = dword:00ffff00
" ColorTable12 " = dword:000000ff
" ColorTable13 " = dword:00ff00ff
" ColorTable14 " = dword:0000ffff
" ColorTable15 " = dword:00ffffff
" CursorSize " = dword: 00000019
" FaceName " = ""
" FontFamily " = dword: 00000000
" FontSize " = dword: 00000000
" FontWeight " = dword: 00000000
" FullScreen " = dword: 00000000
" HistoryBufferSize " = dword: 00000032
" InsertMode " = dword: 00000001
" LoadConIme " = dword: 00000001
" NumberOfHistoryBuffers " = dword: 00000004
" PopupColors " = dword:000000f5
" QuickEdit " = dword: 00000001
" ScreenBufferSize " = dword:012c0050
" ScreenColors " = dword: 00000007
" WindowSize " = dword: 00190050
" CurrentPage " = dword: 00000000
" CodePage " = dword:000003a8
" HistoryNoDup " = dword: 00000000
[ HKEY_CURRENT_USERConsole%SystemRoot%_system32_CMD.exe ]
" QuickEdit " = dword: 00000800
" CodePage " = dword:000003a8
" HistoryNoDup " = dword: 00000000
" FontSize " = dword:000c0008
" FontFamily " = dword: 00000030
" FontWeight " = dword: 00000190
" ScreenBufferSize " = dword: 00190050
" FaceName " = " Terminal "
[ HKEY_CURRENT_USERConsole命令提示符 ]
" ScreenColors " = dword: 00000007
" PopupColors " = dword:000000f5
" ColorTable00 " = dword: 00000000
" ColorTable01 " = dword: 00800000
" ColorTable02 " = dword: 00008000
" ColorTable03 " = dword: 00808000
" ColorTable04 " = dword: 00000080
" ColorTable05 " = dword: 00800080
" ColorTable06 " = dword: 00008080
" ColorTable07 " = dword:00c0c0c0
" ColorTable08 " = dword: 00808080
" ColorTable09 " = dword:00ff0000
" ColorTable10 " = dword:0000ff00
" ColorTable11 " = dword:00ffff00
" ColorTable12 " = dword:000000ff
" ColorTable13 " = dword:00ff00ff
" ColorTable14 " = dword:0000ffff
" ColorTable15 " = dword:00ffffff
" InsertMode " = dword: 00000001
" QuickEdit " = dword: 00000001
" FullScreen " = dword: 00000000
" ScreenBufferSize " = dword:012c0050
" WindowSize " = dword: 00190050
" FontSize " = dword: 00100008
" FontFamily " = dword: 00000030
" FontWeight " = dword: 00000190
" FaceName " = " Terminal "
" CursorSize " = dword: 00000019
" HistoryBufferSize " = dword: 00000032
" NumberOfHistoryBuffers " = dword: 00000004
" HistoryNoDup " = dword: 00000000
" CodePage " = dword:000003a8