Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.
@ECHO OFF SET Output=Output.txt FOR /F %%A IN ('dir /b chr*.txt') DO Call :GetHeader "%%~fA" FOR /F %%A IN ('dir /b chr*.txt') DO FOR /F "usebackq Skip=1 delims=" %%B IN ("%%A") DO ECHO %%B>>"%Output%" EXIT :GetHeader FOR /F "usebackq delims=" %%A IN ("%~1") DO ( ECHO %%A>"%Output%" EXIT /b )
I tried it, but it only merged two files. Not sure why?
copy chr1.assoc QT.assoc for /L %%A in (2,1,23) do ( type chr%%A.assoc | find /v "header" >> qt.assoc )
Join the community of 500,000 technology professionals and ask your questions.