问题
It's actually a simple question, I have a n index of saved locations of my local network, like \\server\file01. I'm showing the user a grid with these entries and I want to open Windows Explorer when the user clicks on an item (path).
According to the documentation of launchUriAsync, it is possible to do so since they state: You must specify the privateNetworkClientServer capability in the manifest in order to launch intranet URIs, for example a file:/// URI pointing to a network location.
For some unknown reason I cannot get it to work, the callback from launchUriAsync returns false. I started a thread at the msdn forum with no luck so fat, and I thought of posting here before paying for support.
Is there anything I am missing?
Edit: if I write the same uri to the folder in an html page with the a tag the windows explorer opens with the apecified folder. I thought Windows Explorer is the default app handler for the file:/// protocol
来源:https://stackoverflow.com/questions/15912008/open-windows-explorer-from-windows-store-app