Hey bill, try reading next time.
I meant to say I could not get the following code to work on my machine:
@echo off
for /l %%a in (0,1,ENDNUMBER) do type file%%a.txt >> endresult.txt
The solutions offered here on the Hope Board are not just for the Original poster. Many readers can often use the information.
I wonder if Helpme can show us the output for:
@echo off
for /l %%a in (0,1,ENDNUMBER) do type file%%a.txt >> endresult.txt
Must we offer a new "ENDNUMBER" each time we run the code?
I use XP. Will the above code run for XP?
An example of the Output of all code offered will help the OP plus the readers.
Thank you Helpmeh for your time and effort.