In Win 7, This is the program:
# TestArg.pl
print "\nin TestArg.pl, \$ARGV[0]=$ARGV[0], \$ARGV[1]=$ARGV[1], \$ARGV[2]=$ARGV[2]";
When I run: TestArg.pl 1 2 3
at the command line
I get: in TestArg.pl, $ARGV[0]= 1 2 3, $ARGV[1]=, $ARGV[2]=
Instead of having them distributed.
In the Registry:
HKEY_USERS\...\Software\Classes\pl_auto_file\shell\open\command is:
Default REG_SZ "C:\Perl\bin\perl.exe" "%1" "%*"
I tried to change REG_SZ
to REG_MULTI_SZ
, but it wouldn't let me, though I'm the administrator.
Would that have fixed the problem if I could have edited it?
If so, how do I get access?
If it wouldn't have helped, what would?