0

How can i open a link from Desktop with Windows cmd?

It's the fastest, when I launch programs with Desktop links, but if i write the linkname (for example Visual studio.lnk) in the cmd, it does nothing.

28th Feb 2017, 12:11 AM
repulotaska
repulotaska - avatar
2 Respostas
+ 2
Your desktop shortcut referes to the executable of Visual studio located in its installation directory. right click on the shortcut -> properties -> Shortcut Tab -> Target: That is the path to the executable: the .exe file you want to launch from the cmd. in cmd follow the path folder by folder and when you get to the executable folder type the filename followed by its extension: for example (it's probably different on your PC) "C:\program files\Visual Stutio\bin\VS.exe"
28th Feb 2017, 5:54 AM
seamiki
seamiki - avatar
+ 1
Thank you!
28th Feb 2017, 7:37 PM
repulotaska
repulotaska - avatar