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

Announcements

News and Announcements icon
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?

Screenshot 2023-04-26 at 12.57.41 PM.png
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 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,136 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard