Board logo

标题: cmd.exe 无法显示中文字符(已解决) [打印本页]

作者: vptdosme     时间: 2006-1-14 18:30    标题: cmd.exe 无法显示中文字符(已解决)
怎么在“开始---运行”中输入cmd,显示如下:
Volume in drive G has no label.
Volume Serial Number is 1484-EA70

Directory of G:\Documents and Settings\Administrator

2006-01-04 11:04 <DIR> .
2006-01-04 11:04 <DIR> ..
2005-11-04 18:35 <DIR> .borland
2006-01-11 12:36 <DIR> Favorites
2006-01-08 15:06 <DIR> My Documents
2005-11-04 09:12 1,060 nmsymret.ini
2006-01-04 11:04 60 Rar$LS11.50321
2006-01-02 16:36 142 Rar$LS12.01150
2006-01-01 01:32 <DIR> ??????
2005-11-05 14:20 376 ??????????????.REG
2006-01-13 15:23 <DIR> ??
4 File(s) 1,638 bytes
7 Dir(s) 554,491,904 bytes free

中文的文件无法显示,都长了问号(??????????????.REG),请问该如何恢复它
应该是在“开始---运行”中输入commad,才会显示成上面那样,可现在输入cmd也成了这样????

Last edited by vptdosme on 2006-1-14 at 22:13 ]

作者: JonePeng     时间: 2006-1-14 19:11
应该是代码页出问题,试试在CMD里运行 chcp 936 看看能否显示中文,如果可以,就修改快捷方式“命令提示符”的属性,将“选项”中的代码页改为936。

作者: vptdosme     时间: 2006-1-14 22:04
非常感谢指教,总算给纠正过来了。。。

Last edited by vptdosme on 2006-1-14 at 22:05 ]