"waldekO" <osuchw at ecn.ab.ca.remove_me> wrote in message news:9UtD6.2758$h4.54829 at jekyl.ab.tac.net... > What I used to do is to create Shell object using COM package and utilize > its methods to do the job. > for example: > from win32com.client import Dispatch > >>> shell = Dispatch('WScript.Shell') > >>> lnk = shell.CreateShortcut('c:\\windows\\desktop\calc.lnk') > >>> lnk.TargetPath = 'c:\\windows\\calc.exe' > >>> lnk.Save() > For details of all parameters refer to Microsoft Windows Scripting Host > documentation. Thanks waldekO. I'm familiar with this. I was hoping Python itself had a method as simple as this for working with shortcuts, but apparently not. Don
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4