in reply to Append Text Files
setlocal ENABLEDELAYEDEXPANSION Set SOURCELIST=X for /f %%f in ('dir /b \\testserver\dir\*') do set SOURCELIST=%%f+!SOU +RCELIST! set SOURCELIST=%SOURCELIST:~0,-2% echo ==%SOURCELIST%== copy %SOURCELIST% dest\testrpt.txt
Potentia vobiscum ! (Si hoc legere scis nimium eruditionis habes)
|
|---|