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 / Folder location doesn'...
Power Automate
Answered

Folder location doesn't exist

(0) ShareShare
ReportReport
Posted on by 4

Hello all,

 

I am quite new to PAD and building my first flows. Proficient (reasonably) in VBA but first time using PAD. I am trying to open a downloaded folder from Edge and copy the data to another file. I am having difficulty with the Get Files in Folder function.

 

As the file saves to the local user's downloads file I wrote a script (.bat) to get the user name and save to the clipboard. This then passes to a variable to write the complete file location as a variable.

JohnMcLane_0-1625623643802.png

This successfully creates the path as expected which when I paste into the file explorer opens the folder required 

JohnMcLane_2-1625623862313.png

 

but this falls overs when I use this in the 'Get Files in Folder' 

JohnMcLane_1-1625623736588.png

 

It appears PAD is trying to search for the file path within the application folder rather than taking this as a string/variable on its own

JohnMcLane_3-1625624138731.png

 

Has anyone encountered this or know what I am doing wrong?

 

I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @JohnMcLane 

    In 'Get Files in Folder', populate Folder with %DownloadLocation% (with the %s), since it's a variable. Or, best, click in the [x] and select the correct variable in list

  • JohnMcLane Profile Picture
    4 on at

    @Anonymous ...of course! *facepalm* thank you for your help!

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard