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 / Rename File using Curr...
Power Automate
Unanswered

Rename File using Current date

(0) ShareShare
ReportReport
Posted on by 5

Hi community, I am making a Flow using PAD in order to download and rename a file exported from a website. The main issue here is that this .xls file is downloaded with a variable name. I need to standardize this so the file downloaded could be renamed with the current date. How can I do that? I just was able to add the current date to the file name but now I need to remove the default name with which it was generated (bear in mind the default name is variable and is always different)

 

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Share your flow how you added the date.  I am sure you have it in a variable.

     

    You should be able to take that variable and use "Rename File" to rename it to whatever you want.

     

    If, for whatever reason, you don't have it in a variable, we have done the following to get the most recently downloaded.xls:

     

    Get files from Path and *.xls - under Advanced -> Sort by last modified descending

    Use %Files[0]% for the most recent file

     

    Best of luck!

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard