web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using WIldCards in fil...
Power Automate
Unanswered

Using WIldCards in filenames

(0) ShareShare
ReportReport
Posted on by 2

Brand new user here.
I am trying to create a simple task to copy files between folders based on wildcards in the name.  So I am trying to copy any files that have the name 'white' in them with the following syntax:
*White.doc

But it does not seem to work.  How do I use wildcards or what it the workaround to this?

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @XtenMan 

     

    First use get folders to figure the files which have word white in it and copy those files

     

    here is demo flow

    Nived_Nambiar_0-1682528884195.png

     

    Nived_Nambiar_1-1682528903743.png

     

    copy file action

    Nived_Nambiar_2-1682528942211.png

     

     

    Hope this helps

    Mark it as solution if it resolves your query 

     

  • XtenMan Profile Picture
    2 on at

    Thanks for your reply.  So if I understand you correctly, every time I have to use a wildcard, I have to use the 'get files in folder' then loop through them and copy to another folder?  SO simple wildcards as used in Windows search like:

    *.xls

    3755*.*

    are not supported and require multiple steps to achieve?

  • jp_fc Profile Picture
    35 on at

    I believe this is a protection mechanism against situations such as a folder containing thousands of files, and you accidentally mis-use the wildcard and suddenly thousands of files are being opened at once and crashes your computer

  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @XtenMan 

     

    Yes you have to use wildcard to filter the file name by name containing white , but if you want to have independent of extension i would suggest to try this filter option

    *white*

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard