[rochester-pm-list] Win32
Brian Mathis
bmathis at directedge.com
Wed Dec 8 12:26:25 CST 1999
On Wed, 8 Dec 1999, Fred Edmister wrote:
> Anyone have any idea what %1 is not a valid Windows NT application. means
> on an NT server running perl 5.22? Its just a simple perl script, and runs
> fine on a linux machine! :) Thanks!
>
> Fred
Sounds like the perl mime type is messed up. %1 means "the first argument
passed on the command line. The mime type default action mapping for
perl files in windows will look something like this:
c:\perl\perl.exe %1
When you double-click a .pl file, windows runs it as if it were run from
the command line like:
c:\perl\perl.exe file.pl
by substituting the file name for %1.
Check your quoting etc, in the mime type mappings.
--
Brian Mathis
Direct Edge
More information about the Rochester-pm
mailing list