cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the file extension

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

jefuytterhoeven
Level 4

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.