pendave 当前离线
上等兵
findstr /v "【.*】" a.srt >new_a.srt复制代码
@echo off for /f "usebackq tokens=*" %%d in (`dir /s /b *.srt`) do ( findstr /v "【.*】" %%d > "%%~dpd\000_%%~nd.srt" ) exit复制代码
评分人数
pcl_test 当前离线
荣誉版主
@echo off md "处理结果\" 2>nul for /f "delims=" %%a in ('dir /s /b *.srt') do ( >"%~dp0处理结果\%%~nxa" findstr /v "【.*】" "%%a" ) pause复制代码
TOP
@echo off setlocal enabledelayedexpansion md "处理结果\" 2>nul for /f "delims=" %%a in ('dir /s /b *.srt') do ( set "fpath=%%~dpa" md "%~dp0处理结果\!fpath:~3!" 2>nul >"%~dp0处理结果\!fpath:~3!%%~nxa" findstr /v "【.*】" "%%a" ) pause复制代码
@echo off for /f "delims=" %%a in ('dir /s /b *.srt') do ( cd /d "%%~dpa" >$ findstr /v "【.*】" "%%~nxa" move $ "%%~nxa" ) pause复制代码
CrLf 当前离线
论坛巡查