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 / Wild Card in File Path
Power Automate
Unanswered

Wild Card in File Path

(0) ShareShare
ReportReport
Posted on by 2

Is there way way to Open/Save Excel using wild cards in path in a shared OneDrive folder. I would like to share the flow but users cannot run it unless code is updated with their User name.

 

If i am able to use wild cards then i would be able to save the file in the folder required., I can do this in Python but not sure how to do this in Power Automate

 

 

From 
C:\Users\RobertoC\OneDrive \Query\Pool Data.xlsx

 

To something like this

C:\*\*\OneDrive \Query\Pool Data.xlsx

I have the same question (0)
  • AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    @robertoC  If you are looking to parameterise commonly used directories then try using Get special folder action. The output variable of this action can be used anytime necessary. 


     

  • Gidi Profile Picture
    601 on at

    Wildcards are not possible here, but perhaps you can also look for existing environment variables that might be used (especially for OneDrive folders) There is an action to get the environment variables (Something like ‚Get Environment Variable‘)

  • Riyaz_riz11 Profile Picture
    4,214 Super User 2026 Season 1 on at

    Hi @robertoC ,

     

    Currently we don't have wildcard option,

    instead of that you can set environment variable or get the environment variable, so you will get the required path.

     

    Regards

    Ahammad Riyaz

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Use Get Windows environment variable to get the Username and provide Environment Variable Value to file path.

    Kaif_Siddique_0-1661531526359.png

     

    Hope this will help you.

     

    Regards

    Kaif

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 248 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 204

#3
Haque Profile Picture

Haque 179

Last 30 days Overall leaderboard