- @echo off
- set "show=setlocal,enabledelayedexpansion&set param=#p#&set nm=!param:~0,1!&set clr=!param:~1,2!&ren $$ !nm!&findstr /a:!clr! ^. ^*!nm!&ren !nm! $$&endlocal"
- setlocal enabledelayedexpansion
- for /f "delims=" %%i in ('cmd /u /c echo 月') do chcp 437>nul&set code=%%i&set bk=!code:~0,1!&set /p=!bk! <nul>$$&chcp 936>nul
- (%show:#p#=膜03%)&(%show:#p#=拜0d%)&(%show:#p#=楼0c%)&(%show:#p#=主0e%)&(%show:#p#=…0a%)&(%show:#p#=…0a%)
- pause>nul&del /f $$
复制代码
|