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

googleboy mynews44 at yahoo.com
Sun Sep 17 06:39:20 EDT 2006


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

Name: %parameter%.lnk

Target: n:\Path\To\batchfile.bat %parameter%
Start In: n:\Path\To\


Where the parameter is filled in by reading in a file with all the
shortcut names.


Extra bonus points for being able to apply the icon for an application
at n:\path\to\application\app.exe

At the moment I am looking like having to do this with VB,  but I am
trying hard to leave that behind for evermore.

TIA

googleboy




More information about the Python-list mailing list