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.
2 Respuestas
+ 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"
+ 1
Thank you!