- @echo off
- setlocal enabledelayedexpansion
- set /p=<nul>"您好"
- findstr /a:a .* "您好*"
- echo.
- findstr /a:c .* "您好*"
- findstr /a:b .* "您好*"
- findstr /a:d .* "您好*"
- del 您好
- pause
复制代码 http://www.bathome.net/thread-8735-1-3.html
具体看findstr /a
还有种方法- @echo off
- chcp 437>nul&&graftabl 936>nul
- if not exist CONFIG.NT copy %WinDir%\System32\CONFIG.NT CONFIG.NT
- @cls
- echo DEVICE=%WinDir%\System32\ANSI.SYS /x >%WinDir%\System32\CONFIG.NT
- @echo.
- command /cecho
- command /cecho [1;36m 登鹳雀楼
- pause
复制代码 这个方法我也不是很清楚 |