how to read multiple text files from a directory?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Solved! Go to Solution.
- Labels:
- Dynamic Processing
- Input
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If the schema is going to be different, then your best option may be to create a Batch Macro to input all of the files. In the Batch Macro tab, set the Output Mode to Auto Configure by Name. This will line up all fields with corresponding names and append the input with the extra fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Can I use a wildcard if mutliple .xls files all have the same scheme, but have multiple sheets?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey EYamada. Take a look at this solution as I believe it will work for you. I've used a slight variation successfully myself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you TylerN. A directory tool followed by two Dyanmic Inputs worked perfectly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Awesome, I'm glad it worked for you EYamada.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have the similar requirement , but my files have mismatched number of columns and mismatched columns names i need . I need to process each file , get specific columns and generate output file for each input
i tried setting up the following
dir —-> macro [ macroinput(fullpath) —-> dynamicInput—-> formula —- select —> macro output] —-> outputtool
but dynamic tool complains that second file has mismatched columns , i thought putting in macro would do it
please help
