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 / Check "which" Folder i...
Power Automate
Answered

Check "which" Folder is currently open

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey,

 

lets assume the "User" has always only one Folder open (win10 explorer)

 

I need to check which Folder it is (Name and Path), because I want the Program to save some stuff in his current Folder location. (the name of the folder is not known by us beforehand, it always varies)

 

Is there an option/action to do that?

 

If not are there any alternatives?

 

Thanks

  • Verified answer
    Highboy Profile Picture
    1,187 Super User 2024 Season 1 on at

    Hmmm if the user only has one Windows explorer open you could do it with "Get details of UI element in Window"

    Below is just an example and not necessarily the best way to do it.

     

    Highboy_1-1635842427702.png

     

    Window selector

    Highboy_2-1635842465437.png

    UI Element

    Highboy_3-1635842506729.png

    Gives me the following result when run.
    Yo can then extract the current directory.

    Highboy_4-1635842664206.png

    Adding a "Parse text" will extract the correct value

    Highboy_0-1635843482759.png

     

    Highboy_1-1635843495484.png

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard