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 
shortcut.WorkingDirectory = "C:\temp";
See this link for a C# tutorial on creating shortcuts
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论