Forum Discussion

jojig_allot9's avatar
jojig_allot9
New Contributor
2 years ago

Text file to csv files (Many to Many) from folder

Dear Experts,

I'm trying to read text files from a folder and i need to create csv file in target file location. For Example:

i have 3 .txt files in a source folder and i need to create 3 .csv files in target folder. I have tried below approach but it's failing:

Directory Browser->ForEach->FileReader->CSVParser->Mapping->CSVFormatter->FileWritter.

Also i need to name the 3 different target filenames with dateformat EX: sourcefilename_yyyyMMddHHmmss.csv

Please let me know if anyone succeeded, Please share your experience or thoughts which will help me.

Thanks in advance