有關Config.nt設定請參考willsort大大所提出來的方式:
http://www.cn-dos.net/forum/viewthread.php?tid=16292&fpage=1&highlight=%E9%A2%9C%E8%89%B2
批處理撰寫如下:
rem -- 以下兩行是為了自動確認config.nt是否已經載入ANSI.SYS(非必須)--
findstr /i "system32\\ansi.sys" %systemroot%\system32\config.nt | find /i /v "REM"
if %errorlevel% NEQ 0 echo device=%%SystemRoot%%\system32\ANSI.SYS /x >> %systemroot%\system32\config.nt
rem --(重要設定)
rem -- 437不可以改變因為ANSI是美國的標準所以必須使用美國的代碼
rem -- 950請改成所使用的語系(950-繁體中文,936-簡體中文)
chcp 437 > NUL && graftabl 950 > NUL
rem -- 需要顯示顏色的部分使用以下的指令(箭頭是用Ctrl-P+Esc產生的)
rem -- 使用一般文書編輯器可能無法順利產生,可以用cmd下的edit去編輯,儲存後再用一般編輯器編輯
command /c echo ←
http://www.cn-dos.net/forum/viewthread.php?tid=16292&fpage=1&highlight=%E9%A2%9C%E8%89%B2
批處理撰寫如下:
rem -- 以下兩行是為了自動確認config.nt是否已經載入ANSI.SYS(非必須)--
findstr /i "system32\\ansi.sys" %systemroot%\system32\config.nt | find /i /v "REM"
if %errorlevel% NEQ 0 echo device=%%SystemRoot%%\system32\ANSI.SYS /x >> %systemroot%\system32\config.nt
rem --(重要設定)
rem -- 437不可以改變因為ANSI是美國的標準所以必須使用美國的代碼
rem -- 950請改成所使用的語系(950-繁體中文,936-簡體中文)
chcp 437 > NUL && graftabl 950 > NUL
rem -- 需要顯示顏色的部分使用以下的指令(箭頭是用Ctrl-P+Esc產生的)
rem -- 使用一般文書編輯器可能無法順利產生,可以用cmd下的edit去編輯,儲存後再用一般編輯器編輯
command /c echo ←
本帖最近评分记录
(共 3 条)
点击查看详情
| 评分人 | 分数 | 时间 |
|---|---|---|
| lxmxn | +4 | 2007-10-08 11:35 |
| baikaifang | +2 | 2007-10-08 13:32 |
| HAT | +8 | 2007-10-08 17:14 |
