问题描述
我的程序开机后无法正常启动,但是Mark Text可以正常启动。
我是直接替换还是通过 Eshell.exe 替换。
我错过了什么吗?
C++应用程序也能启动,WPF不能启动
是什么原因?
解决方法
你并没有真正付出太多。
我猜你想Enable and Configure a Shell Launcher.
在链接中,他们给出了如下示例;
$ShellLauncherClass = [wmiclass]"\\localhost\root\standardcimv2\embedded:WESL_UserSetting"
$ShellLauncherClass.SetDefaultShell("notepad.exe",1)
$ShellLauncherClass.SetEnabled($TRUE)