Adding file name / file path to each record
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Naviii
5 - Atom
07-21-2022
10:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
4 REPLIES 4
17 - Castor
07-21-2022
10:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Emmanuel_G
13 - Pulsar
07-21-2022
10:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Naviii ,
Find attached a test where fullpath is extracted for each line of file.
Just select Full Path on line 5 - Output File Name as field.
Cheers !
07-21-2022
10:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Luke_C and Emmanuel_G
I agree , but I'm using the wildcard "*" to read the multiple files and also a batch macro since the files has a different schema .
17 - Castor
07-21-2022
10:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It should still work. If it's not you probably need to set the same configuration in the input tool present in your batch macro.
