in reply to Has anyone seen perl losing arguments?

Your file association is broken. Specifically, the "%*" is missing in your association.

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

Either fix the association using ftype, or don't rely on the extension.

system("perl 2_CleanXMLfiles.pl \"$now_string\"");

Replies are listed 'Best First'.
Re^2: Has anyone seen perl losing arguments?
by ted.byers (Monk) on Sep 29, 2011 at 18:12 UTC

    No, the file association is OK. Files with a pl extension are associated with perl. Execution of my driver scripts relies on that.

      What does one have to do with the other?

      What's the output of

      >assoc .pl .pl=Perl ---- \ \ | v ---- >ftype Perl ???