Debian Codegraph @

latexdraw-core/net.sf.latexdraw/shortcutWindows.vbs

raw
1 Dim Shell, DesktopPath, URL
2 Set Shell = CreateObject("WScript.Shell")
3 DesktopPath = Shell.SpecialFolders("Desktop")
4 Set URL = Shell.CreateShortcut(DesktopPath & "\latexdraw.LNK")
5 URL.TargetPath = WScript.Arguments(0)
6 URL.Save