cxmzlxb 当前离线
上等兵
plp626 当前离线
贵宾
hex 11.bin复制代码
TOP
CrLf 当前离线
论坛巡查
@echo off&setlocal enabledelayedexpansion chcp 437 call ascmap $ chcp 936 cmd /u /c echo;>tmp (findstr/vrc:$ tmp set /p=!$:~0x3,1!!$:~0x11,1!)<nul>$ del $>nul pause复制代码
@echo off&setlocal enabledelayedexpansion call ascmap $ 0x00.tmp set/p=!$:~0x03,1!!$:~0x13,1!<nul>11.bin copy /b 0x00.tmp+11.bin 11.bin del 0x00.tmp pause复制代码
3# zm900612 ascmap函数(version 1.01.01.00精简版)自带0x00字符,楼上代码可以精简为(可读性强):@echo off&setlocal enabledelayedexpansion call ascmap $ 0x00.tmp set/p=!$:~0x03,1!!$:~0x13,1!11.b ... plp626 发表于 2011-6-18 16:31
qzwqzw (活着就是幸福)当前离线
@goto Start E 100 00 01 13 R CX 3 W Q :Start @echo off chcp 437 & graftabl 936 & cls debug test.bin <%~sf0复制代码
既然会切换代码页 不如就用debug 可读性更强 @goto Start E 100 00 01 13 R CX 3 W Q :Start @echo off chcp 437 & graftabl 936 & cls debug test.bin qzwqzw 发表于 2011-6-18 17:36