Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

How to handle dynamic file path using wild cards

Hi, I have to check if a file is present in a folder. The format of the file name is "Broadband prevet dd-mm-yyyy.xlsx". The date is dynamic here. Can anyone please help how to handle this dynamic date as it would be changing. Iam using Broadband prevet *.xlsx. But it is not working.  I want to achieve this on power automate desktop. 

Helper V
Helper V

This is limited to your specific use case as stated. It will only work if the files you're looking for are strictly in that format. The message displayed at the end shows how it will fail if a file has the same prefix but extra characters after that.


(There's a space after "Broadband prevet ", like that without the quotes.)

save variable.PNG

get files.PNG

Files for test:

files in folder.PNG




However, this method will eliminate the 'guinea pig' file displayed above:


This will work for your case also, but isn't as flexible.



Helpful resources

Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (24,001)