Hi everybody, I have some .txt files that store comma separated data.
I need to export (load) their contents in another .txt file (loaded_records.txt)Can anyone help?
thnx in advance,
Pupli
@echo off > loaded_records.txt & setLocal enableDELAYedeXpansion for /f "tokens=* delims= " %%a in ('dir/b/a-d *.csv') do (
type %%a >> loaded_records.txt
)
=====================================
Helping others achieve escape felicityM2
nice thnx
I was trying this, and it seems to work fine ... with one limitation: if the files beholded, match the name of the end-result, you must work-around it. Example (if that not being a problem)
type *.csv > loaded_records.txt
But, if being a problem:
type *.txt > loaded_records.tmp
rename loaded_records.tmp loaded_records.txt
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |