Example: You have a shortcut s
to SomeProgram
in the current directory.
In cmd.exe
, you can type s
and it will launch the program.
In PowerShell, typing s
gives:
The term 's' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
If you type s.lnk
or SomeProgram
, it runs the program just fine.
How can I configure PowerShell to execute shortcuts just like programs?