8532200 当前离线
二级士官
@echo off for /f "usebackq delims=" %%i in ("C:\5\1\2\1.txt") do (echo.>>"%%~i.txt") pause复制代码
terse 当前离线
中将
for /f "delims=" %%i in ('dir /b/s "1.txt"') do for /f "usebackq delims=" %%j in ("%%~i.txt") do (echo.>>"%%~j.txt")"复制代码
TOP
@ECHO OFF for /f "delims=" %%i in ('dir /b/s "1.txt"') do for /f "usebackq delims=" %%j in ("%%~i") do >>"%%j" echo. PAUSE复制代码