墨者革离 当前离线
五级士官
@echo off for %%a in (*.doc) do doctotext "%%a">"%%~na.txt"复制代码
Demon 当前离线
上尉
TOP
CUer 当前离线
@echo off for /f "delims=" %%a in ('dir /s /b *.doc') do ( doctotext "%%a" >"%%~dpna.txt" )复制代码
ArdentMan 当前离线
中尉
@Echo Off For /R %1 %%I IN (*.doc) Do DocToText "%%I">"%%~dpnI.txt"复制代码
Hello123World 当前离线
荣誉版主
@echo off set /p a=托文件夹至此: for /f "delims=" %%i in ('dir /s /b "%a%\*.doc"') do ( for /f "delims=" %%j in ("%%i") do echo %%j >>%%~dpni.txt ) pause>nul复制代码