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
Continued Contributor
Continued Contributor

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
Continued Contributor
Continued Contributor

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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,912)