Run application via shortcut using Process.Start C#

后端 未结 4 772
南笙
南笙 2020-11-29 11:31

Is there a way to run an application via shortcut from a C# application?

I am attempting to run a .lnk from my C# application. The shortcut contains a significant n

4条回答
  •  旧巷少年郎
    2020-11-29 11:47

    Setting UseShellExecute = false was the problem. Once I removed that, it stopped crashing.

提交回复
热议问题