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 / 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)

 

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 178

Last 30 days Overall leaderboard