WineMonk / WineMonk.github.io

blog
1 stars 0 forks source link

C#创建快捷方式 | WineMonk #168

Open WineMonk opened 1 year ago

WineMonk commented 1 year ago

https://shaoshao.net.cn/2023/02/02/202302021832-CSharp%E5%88%9B%E5%BB%BA%E5%BF%AB%E6%8D%B7%E6%96%B9%E5%BC%8F/

C#创建快捷方式123456789101112131415161718192021222324252627282930//实例化WshShell对象WshShell shell = new WshShell();//通过该对象的 CreateShortcut 方法来创建 IWshShortcut 接口的实例对象IWshShortcut shortcut = (IWshShortcut)shell.