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 / Move Files to another ...
Power Automate
Suggested Answer

Move Files to another folder after edit it

(0) ShareShare
ReportReport
Posted on by 92
hello everyone
is there any Adia to use power automate for move files from folder to another folder after Edit it
regards
I have the same question (0)
  • Suggested answer
    eetuRobo Profile Picture
    4,220 Super User 2025 Season 2 on at
    Can you explain your needs in bit more detail?

    If I understood correctly you want to move files that were edited recently. How recently?

    Here is a flow example of who you would move files that were edited on today from one folder into another folder.
    1. Get current date into a variable
    2. Get files in folder that you want to move if they were edited today
    3. Loop the list of files and if they were not edited today then go to the next loop. 
    4. If there were modified today then move the file to a new folder

  • maheralkhalil Profile Picture
    92 on at
    Thanks for your reply 
    with more details for what I looking 
    i have folder with many files over 5000 file i have to check it , edit it and close.
    after that i need that file will move by automate to another folder so i will not open it again
    i do something like this in power automate for cloud but i have to do this in desktop 
    hope it’s clear now
     
  • Suggested answer
    eetuRobo Profile Picture
    4,220 Super User 2025 Season 2 on at
    So do you specifically need to have the file moved right after you have edited it? 

    One thing you can do is create simple flow that gets all the files in the folder in Last modified order. So in the "Get files in folder" -action in Advanced use Sort by "Last modified" and Decending order. Then it gives you all the files in a list where the first file is last edited file.


    Then you just use "Move file(s)" -action where you only move the first file which is %Files[0]% (the 0 index is the first item in the list so the last edited file)



    Then after you save and close the flow you can set "Run with keyboard shortcut" in the flows properties:

    Set the shortcut something that you would not otherwise use


    For me it took about 6 to run the flow with the shortcut. The flow itself takes 1 second but preparing the flow to start will take atleast 5 seconds. That could be different in your machine.

    If that is too long or you don't want to press shortcut everytime you have edited a file then maybe do the suggestion flow I gave before. That way you can edit multiple files and only run the flow after you have done editing the files. It will take about the same time since it a very simple loop it has and the slowest part is to start the flow. 

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard