简体   繁体   中英

Razor syntax to open explorer window

Noob here:

I'd like to have clickable link in Razor to open an explorer window on client machine when passed the appropriate path. I'm new to the syntax (and limitations), but it's all internal, so I can resolve any security issues (if relevant).

Alternatively, advice on a (very) easy to install free control is also welcomed. :)

In IE6, you should be able to write <a href="file://c:\\whatever>...</a> .
I don't think that will work on any other browser.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM