Getting the file extension
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-09-23 11:18 AM
Hi Team,
Is there any way available in blueprism for getting the file extension(type) of each files in the folder?
Thanks,
Twinkle
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-09-23 11:29 AM
I don't know if there is an easier way of doing this but I would say.
Get all filenames with the action Get files from Utility - File management.
And then loop over this collection and split every file name on a "." The second value should be the extention type
EDIT: The action get files even gives you a list of extention types in the collection. So second step is not necessary.
