繁体   English   中英

设置快捷方式C#的“开始于”框

[英]Set “start in” box for a shortcut C#

如何设置快捷方式的开始路径? 我正在使用创建快捷方式

WshShellClass WshShell = new WshShellClass(); 
IWshRuntimeLibrary.IWshShortcut shortcut;

我相信要设置为使用IWshShortcutWorkingDirectory属性

shortcut.WorkingDirectory = "C:\temp";

有关创建快捷方式的C#教程,请参见此链接。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM