Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 0wkVIHs2r68ogM2Eigc4xq
Power Automate - Power Automate Desktop
Suggested answer

Rename multiple folders

Like (0) ShareShare
ReportReport
Posted on 29 Jan 2025 21:47:02 by 73
Hi Experts
 
I'm using following code to select multiple files and then I process them for renaming multiple ways - Add Text or replace text etc.
 
Can there be some way to select multiple folders for the purpose?
 
Thanks in Advance
 
The code I use to select multiple files is - 
 
Display.SelectFileDialog.SelectFiles Title: $'''Choose files...''' InitialDirectory: $'''C:\\Users\\Sanja\\Downloads''' IsTopMost: False CheckIfFileExists: False SelectedFiles=> SelectedFiles ButtonPressed=> ButtonP
 
Categories:
  • SanjayGMusafir Profile Picture
    73 on 01 Feb 2025 at 05:26:40
    Rename multiple folders
    @CFernandes Thanks for replying. Much appreciated.
     
    I have a very deep folder structure. So I can't randomize it by choosing subfolders in a folder.
     
    I need a system where I can choose which folders should be renamed.
     
    Moreover 'Rename folder' only gives option to rename all together.
     
    While I want option to choose to make it sequential or add/remove text from its name just like we can do with file names.
     
    Please help
     
    Thanks in Advance 🙏
  • CFernandes Profile Picture
    8,285 Most Valuable Professional on 31 Jan 2025 at 23:23:21
    Rename multiple folders
    Sorry Mate, A quick clarification, you need to remame folders? So do you have a main folder and subfolder under it? Also do you want to continue with code or is a nocode solution OK? Sample below
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
     

    Does this answer your question? Check the box :-)
     

     
     
    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.
     
     
  • SanjayGMusafir Profile Picture
    73 on 30 Jan 2025 at 11:34:02
    Rename multiple folders
    @CFernandes Thanks for replying.
     
    The video you shared is regarding renaming files which is doing fine with me.
     
    My challenge is that my flow doesn't allow me to select multiple folders to rename. If you may help me with that.
     
    Thanks Again 🙏
  • Suggested answer
    CFernandes Profile Picture
    8,285 Most Valuable Professional on 29 Jan 2025 at 22:49:00
    Rename multiple folders
    Hey Mate
     
    You can find a video tutorial here - https://www.youtube.com/watch?v=PaHK9eksi1w 
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
     

    Does this answer your question? Check the box :-)
     

     
     
    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.
     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Power Automate Desktop

#1
eetuRobo Profile Picture

eetuRobo 18 Super User 2025 Season 1

#2
Nived_Nambiar Profile Picture

Nived_Nambiar 10 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 6

Overall leaderboard
Loading started