web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to Open folder of 'C' drive on click of custom Ribbon button

(0) ShareShare
ReportReport
Posted on by 95

We have requirement that there is on Custom Ribbon Button when user clicks on this button it should open

folder of 'C' Drive.

I am using JavaScript Action for Button and I  want to open this path ''C:\Users\Andrew\Desktop\TestFolder'.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Andreas Cieslik Profile Picture
    9,267 on at

    file:///C:/Users/Andrew/Desktop/TestFolder

    window.location='file:///C:/Users/Andrew/Desktop/TestFolder'

    or

    window.open('file:///C:/Users/Andrew/Desktop/TestFolder')

    you could put this code in a web ressource.

  • SnehaDohale Profile Picture
    95 on at

    It's not working for me

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Sneha,

    Please refer the following link. It describes the valid URL to open a folder in desktop.

    blogs.msdn.microsoft.com/.../file-uris-in-windows

    For the local Windows file path

    C:\Documents and Settings\davris\FileSchemeURIs.doc

    The corresponding valid file URI in Windows is:

    file:///C:/Documents%20and%20Settings/davris/FileSchemeURIs.doc

  • SnehaDohale Profile Picture
    95 on at

    not working URI is proper

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans