insert filename to table for each row

Does anyone have information about how to insert the csv file name to each row of the csv?
I need to do this for a few thousand csv files. I’ve found a little help on the forum but nothing that has worked so far.

Thanks!

Michael

Hi Michael,

you might have a look at the “Iterate list of Files” meta node. You provide to this meta node a list of your files as input and can use the “Variable to TableColumn” node to append the file name to each row. Make sure that you have KNIME expert mode is enabled (see http://knime.org/documentation/faq) for accessing this functionality.

Hope that helps,
Dominik