oqis 当前离线
上等兵
pcl_test 当前离线
荣誉版主
@echo off setlocal enabledelayedexpansion (for /f "delims=" %%a in ('type "测试.txt"') do ( set "str=%%a000" if "!str:~,1!" equ "-" (echo,!str:~,4!) else (echo,!str:~,3!) ))>"结果.txt" pause复制代码
TOP