Is it possible to invoke a symbolic link (not a shortcut) from command line?
Consider I have a program, some-program.exe
, and I want to create a link for it. I can do so using the mklink
command:
mklink some-link some-program.exe
This creates the link as expected, and I can double-click on it in Explorer to launch the program. However, it does not seem possible to launch it via command line:
'some-link' is not recognized as an internal or external command,
operable program or batch file.
Am I missing something, or is it just not possible to invoke a symlink from command line?
I know I can create a shortcut instead (although not sure how to from command line), and I can invoke that shortcut from the command line with some-link.lnk
, however I’m specifically trying to use symbolic links.