Input file name to output file name

Hii there, can u please tell me how to give the same input names to the output files

In my case my input file was abc.txt
I have converted to xls
Now I want the output file to abc.xls
I want it to be dynamic because I have 10 different files each having diff file name but the goal is to convert just into XLS and the file names should be same

Thank you.

@johnnybasha you can capture the file name given (or it might come as an already existing Path variable) maybe from a List Files/Folders – KNIME Hub node.

You can separate the File Nam from the extension so you might create a new file name with a different extension in a Java Edit node or directly create a new Path variable.


kn_example_path_name_file.knwf (34.2 KB)

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.