Thanks Jindra,
Monday, June 11, 2001, 10:06:13 AM, you wrote:
JV> Workaround is to use pl2bat script which encapsulates the perl
JV> source within a .bat file and handles everything as necessary.
JV> It is the way already suggested here, I just wanted to point out
JV> the PL2BAT script, which i
IIRC Win don't pass arguments to programs started by
"extension association" (even when Win Registry is set
up completely). I don't know why this is.
Workaround is to use pl2bat script which encapsulates
the perl source within a .bat file and handles
everything as necessary.
It is the way alread
Hey ggage,
Friday, June 08, 2001, 12:17:50 PM, you wrote:
gmc> I would like to run a perl script and pass in an argument (ARGV[0]) by
gmc> dragging a textfile icon on to the perl script icon. This would be on an
gmc> NT/Win2000 system using the icons in file manager, desktop, etc. The
gmc> arg
This
#!/usr/bin/perl
open THEOUTPUT, ">e:/test/output.txt";
while ( <$ARGV[0]> ) { print THEOUTPUT};
worked with this NT command file (NTWS 4 SP5)
perl.exe e:\test\droptest.pl $1
Not sure why perl.exe wouldn't run it without an absolute path, but
such are the ways of DOSney
I would like to run a perl script and pass in an argument (ARGV[0]) by
dragging a textfile icon on to the perl script icon. This would be on an
NT/Win2000 system using the icons in file manager, desktop, etc. The
argument passed in would be the path to the textfile. This works with a
DOS batfil