I previously asked about file associations in Win8 using ActiveState. That one was solved.
Now it's back again. This is Win 7 Pro with Strawberry. A simple test script "test.pl" is one print statement.
print "This is a test\n";
assoc .pl .pl=Perl_program_file
ftype Perl_program_file Perl_program_file="\strawberry\perl\bin\perl.exe" "%1" %*
Issuing the command
test
Causes a window to pop up saying
Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access them.
I made sure all files had read/write permissions, including \strawberry. I tried running this from a DOS Box with and without admin privileges. That made no difference. I've had no problems with Win 7 Home Premium. This is my first time with Pro.
Also, I should note that ...
\strawberry\perl\bin\perl test.pl
works just fine.
In reply to Starting Strawberry in Win7 by LloydRice
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |