Arguments not getting to Perl in 2012R2

Posted by magnotta on 2015-02-06 17:54

Just installed 5.20.1 on Windows Server 2012R2. The product works fine but we're seeing the following weirdness the normal associations are not passing parameters. In fact they were being ignored altogether until we an association in UI as well!


use 5.12.0;

say join ":", @ARGV;

Let's test it:

F:\temp> my arguments
F:\temp>perl my arguments
F:\temp>assoc .pl
F:\temp>ftype Perl
Perl="C:\Perl\bin\perl.exe" "%1" %*

The association seems broken. Any idea how to fix this? Even a totally wacko test doesn't work:

F:\temp>ftype Perl=notepad.exe "%1" %*
Perl=notepad.exe "%1" %*

F:\temp> my arguments

Nothing happens, it's still running Perl on the script but not passing the arguments. It's like the UI preferences just win over the settings!