使用库https://github.com/go-ole/go-ole相关代码// 创建快捷方式 func createShortcut(source string, target string) error { var err error err = ole.CoInitializeEx(0, ole.COINIT_APARTMENTTHREADED|ole.COINIT_...