Saturday, January 22, 2011

Drag and Drop for srt2ez in XP

Rather not mess with the command line in Windows?
You can create a .cmd file to handle drag and drop for
Your script can be anywhere*, and so can your srt files.

1.  Use Notepad or any text editor, not a word processor to enter
cd "%~p1"
perl C:\your\path\ %~nx1
where "your\path" is actually your path to
You can copy and paste the full path from Explorer's Address Bar.

2.  Save the file with the .cmd extension.

Now you can drag and drop to the srt2ez.cmd file, and the output file will be in the same directory.
*"anywhere" being  a path without spaces, seems perl doesn't like quotes.