|Thanks! But, problems...Here is what I entered in...M: is the server location...|
::====== script starts here ===============
:: Cnut.bat 2016-12-01 23:33:39.75
@echo off > NEWFILE & setLocal enableDELAYedeXpansioN
for /f "tokens=* delims= " %%a in (D:\Temp\filelist.txt) do (
) >> NEWFILE.txt
for /f "tokens=* delims= " %%i in (NEWFILE.txt) do (
copy "%%i" D:\Temp\FoundFiles
::====== script ends here =================
The result is newfile.txt receives only one path and filename, and no files are copied.
My filelist.txt file has two test file names.
Can you help?
message edited by ComputerNut