Code: Select all
Command: c:\perl\bin\perl.exe
Parameters: c:\path\to\script.pl -switch1 -switch2 $File
Code: Select all
Command: c:\perl\bin\perl.exe
Parameters: %SCRIPT_PATH%\script.pl -switch1 -switch2 $File
Code: Select all
Command: script.pl
Parameters: -switch1 -switch2 $File
"Unrecognized switch: -switch1 (-h will show valid options)."
That's perl.exe talking. It's as if I typed in "perl -switch1". My FTYPE for Perl scripts looks like this:
ftype Perl=c:\perl\bin\perl.exe "%1" %~2
(This is XP.) I've also tried it with the last argument as %*, same error.
Any ideas? Have I totally confused you?