中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-08-02 02:24
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [求助] cmd为何不支持中文了 ? 查看 1,330 回复 4
楼 主 [求助] cmd为何不支持中文了 ? 发表于 2006-09-12 06:50 ·  中国 广东 东莞 电信
初级用户
积分 63
发帖 18
注册 2006-09-09 08:41
19年会员
UID 62219
状态 离线
:(:(没事就玩cmd 这下cmd玩我了 它不再显示中文 完全成了个英文版 看如下:

C:\>
C:\>Microsoft Windows XP
(C) Copyright 1985-2001 Microsoft Corp.

C:\> Volume in drive C has no label.
Volume Serial Number is 9CB0-9646

Directory of C:\

2006-09-07 19:36 0 AUTOEXEC.BAT
2006-09-07 21:36 <DIR> bin
2006-09-07 19:36 0 CONFIG.SYS
2006-09-07 19:43 <DIR> Documents and Settings
2006-09-07 20:58 <DIR> Downloads
2006-09-09 20:38 <DIR> Program Files
2006-09-07 20:39 <DIR> RavBin
2006-09-11 16:53 <DIR> temp
2006-09-11 18:35 <DIR> test
2006-09-11 18:39 1,161 test.txt
2006-09-11 18:32 <DIR> tmp
2006-09-07 21:36 <DIR> usr
2006-09-10 18:48 0 uusee.log
2006-09-08 17:14 <DIR> varlor
2006-09-11 18:35 0 Volume
2006-09-11 16:52 <DIR> WINDOWS
2006-09-07 20:00 11,116 ??????.txt
6 File(s) 12,277 bytes
11 Dir(s) 6,788,911,104 bytes free

C:\>
C:\>>>& was unexpected at this time.
>>& was unexpected at this time.
The process cannot access the file because it is being used by another process.
The process cannot access the file because it is being used by another process.
'tt' is not recognized as an internal or external command,
operable program or batch file.
'exi' is not recognized as an internal or external command,
operable program or batch file.

我该怎样设置才能恢复 谢谢 !
2 发表于 2006-09-12 07:46 ·  中国 广东 佛山 广东睿江科技有限公司
荣誉版主
★★★★
batch fan
积分 5,226
发帖 1,737
注册 2006-03-10 00:38
20年会员
UID 51697
来自 成都
状态 离线
  呵呵,你肯定是在上一次运行了chcp 437命令,用chcp 936就可以改回来了,或者是退出CMD之后再重开。
尺有所短,寸有所长,学好CMD没商量。
考虑问题复杂化,解决问题简洁化。
3 re:namejm 发表于 2006-09-12 08:12 ·  中国 广东 东莞 电信
初级用户
积分 63
发帖 18
注册 2006-09-09 08:41
19年会员
UID 62219
状态 离线
你真强哦 输入命令后 熟悉的中文界面果然出来 呵呵 谢了 研究chcp去
4 发表于 2006-09-12 09:39 ·  中国 广东 东莞 电信
初级用户
积分 63
发帖 18
注册 2006-09-09 08:41
19年会员
UID 62219
状态 离线
re:namejm
每次重新打开cmd 又是英文的了 总不是每次chcp 936吧 如何设置让它默认是为中文呢 谢谢
5 发表于 2006-09-12 12:13 ·  中国 广西 玉林 博白县 电信
金牌会员
★★★★
积分 3,687
发帖 1,467
注册 2005-08-08 12:00
20年会员
UID 44210
状态 离线
cmd 的快捷属性-选项里修改当前代码页为936
论坛跳转: