setlocal EnableDelayedExpansion
for /f "tokens=* delims=" %%i in (e:\test\modify1.txt) do (
set /a n+=1
set bb=%%~i!n!
call:bb "!bb!"
)
pause
goto :eof
:bb
for /r %1 %%a in (*.csproj) do (
echo %%a>>e:\test\dpr.txt
)
@echo off
for /f "delims=" %%i in (e:\test\modify1.txt) do (
for /f "delims=" %%j in ('dir /a-d /b /s "%%i"') do (
echo %%j
)
)>>e:\test\dpr.txt