开发者

Can I add an explorer shortcut to solution explorer and have it actually function?

开发者 https://www.devze.com 2022-12-10 03:56 出处:网络
I\'d like to be able to include shortcuts in my solutio开发者_C百科n explorer so that I can just double click in solution explorer to open a directory related to the project or solution, is this possi

I'd like to be able to include shortcuts in my solutio开发者_C百科n explorer so that I can just double click in solution explorer to open a directory related to the project or solution, is this possible? Currently if I add a shortcut to the solution it comes up as a .lnk file and it opens insides Visual studio as a binary file instead of opening in windows explorer.


While it may not be the most elegant answer and does not answer your question directly, have you considered adding a HTML file to your solution and inside that HTML page you place your links. You should be able to link directly to files, folders, web content, etc...


I think the best solution is per this answer:
https://stackoverflow.com/a/18163825/180430

Basically you right click on your .lnk file and choose "Open With".

Choose Add to add a new program/editor. The program to add is C:\Windows\System32\explorer.exe (or similar).

Then set that to be the default editor for .lnk files.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号