in reply to Drag and drop to a perl source file.
perl %1
Create a link from the batch file to the desktop. Now if you drop a perl source file on the icon it will launch a command tool and run the program. The default is for the command tool to stay open but you can change that.
To execute more that one file you can do some batch hackery with %1 .. %9.
Update: Having read hiseldl's solution I realise that I was answering the wrong question. hiseldl's solution looks like the way to go.
--
John.
|
|---|