cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mark_Ball
Regular Visitor

Move file that begins with

Good day Everyone,

I am very new to Power Automate Desktop, I've been using Power automate for a few months now, with some success. I am struggling to find an answer to this probably simple task.

 

Using the web recorder, i grab excel files from a few different sites and they drop into my default downloads folder. Some files have a different name each time. Like adding a date onto the end. I want to move and rename some of these files,  but i need to use a function like "begins with" when selecting the file.

 

I don't see an option to use a wild card like: File to Move begins with "File Name%"

 

Do i need to create a variable or use another action?

 

Thank you,

Mark

1 ACCEPTED SOLUTION

Accepted Solutions
sakula1996
Responsive Resident
Responsive Resident

Hi @Mark_Ball 

 

Use Get files in folder action and apply file filter to it with  * "SomeFileName*".

"*" is the wild card. You can use it before or after the file name

Then it will produce Files Array

Then use "Move File" action with %Files% or %Files[0]% depending on your use case

 

sakula1996_0-1614974857646.png

 

sakula1996_1-1614975081609.png

 

Hope this helps 🙂

 

 

 

View solution in original post

2 REPLIES 2
sakula1996
Responsive Resident
Responsive Resident

Hi @Mark_Ball 

 

Use Get files in folder action and apply file filter to it with  * "SomeFileName*".

"*" is the wild card. You can use it before or after the file name

Then it will produce Files Array

Then use "Move File" action with %Files% or %Files[0]% depending on your use case

 

sakula1996_0-1614974857646.png

 

sakula1996_1-1614975081609.png

 

Hope this helps 🙂

 

 

 

that worked perfect! thank you 🙂

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Top Kudoed Authors
Users online (1,946)