示例:您在当前目录中有一个快捷s方式。SomeProgram
在cmd.exe中,您可以键入s,它将启动程序。
在 PowerShell 中,键入s会给出:
The term 's' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
如果你输入s.lnkor SomeProgram,它运行程序就好了。
如何配置 PowerShell 以像程序一样执行快捷方式?