[英]Set “start in” box for a shortcut C#
How can I set the start in path for a shortcut? 如何设置快捷方式的开始路径? I am creating the shortcut using
我正在使用创建快捷方式
WshShellClass WshShell = new WshShellClass();
IWshRuntimeLibrary.IWshShortcut shortcut;
I believe to set that you use the WorkingDirectory property of IWshShortcut
我相信要设置为使用
IWshShortcut
的WorkingDirectory属性
shortcut.WorkingDirectory = "C:\temp";
See this link for a C# tutorial on creating shortcuts 有关创建快捷方式的C#教程,请参见此链接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.