用批处理删除文本每行的前几个字符

2025-01-03 00:08:10
推荐回答(1个)
回答1:

@echo off
set fn=a.txt

(for /f "tokens=1* delims=-" %%i in ('type "%fn%"‘) do echo %%j)>temp.txt
move /y temp.txt “%fn%"