script wrapper for Windows

I'm always spending lots of time searching for these information: "Using batch parameters", "Using batch files", "Command shell overview".

I need it to write batch file for Windows. It's a part of trade-off between usability and development time.

If I create a Perl script for processing files, my Windows users can do nothing with the script. My solution is quite simple, but working. In addition to the Perl script, I also create a batch file which is just a wrapper for the Perl script.

Installation procedure: user creates a link to the batch file at the Windows Desktop. Usage procedure: user selects files to be processed and drags them on the link. All is quite simple.

By the way, the batch file looks as follows:

perl %~dp0script.pl %*
pause
Categories:

Updated: