Sub Command1_Click()
Dim lReturn As Long
'添加到桌面
lReturn = fCreateShellLink(“..\..\Desktop”, “Shortcut to Calculator”, “c:\windows\calc.exe”, “”)
'添加到程序组
lReturn = fCreateShellLink(“”, “Shortcut to Calculator”, “c:\windows\calc.exe”, “”)
'添加到启动组
lReturn = fCreateShellLink(“\Startup”, “Shortcut to Calculator”, “c:\windows\calc.exe”, “”)
End Sub
转载请保留链接:https://ilovetile.sijie.wang/33/ 感谢您对版权的尊重
得,我还真想自己也弄个博客了,改天弄好了希望博主也能到我那拜访下!