How would you go about creating a heap of shortcuts to a batch file?

Tim Golden tim.golden at viacom-outdoor.co.uk
Sun Sep 17 09:59:09 EDT 2006


googleboy wrote:
> I need to create about 2000 shortcuts to a batch file.
> The shortcuts need to have ...

You need to use the win32com.shell module from pywin32 extensions.
If you search the archives of this group and/or the python-win32
mailing list, you should find several explanations. The best search
term is probably IID_IShellLink.

I've got a Mickey-Mouse module which wraps it and other things here:

http://timgolden.me.uk/python/winshell.html

TJG




More information about the Python-list mailing list