LloydRice has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Starting Strawberry in Win7
by choroba (Cardinal) on Aug 17, 2014 at 07:21 UTC | |
Re: Starting Strawberry in Win7
by marto (Cardinal) on Aug 17, 2014 at 11:04 UTC | |
by adefaria (Beadle) on Aug 17, 2014 at 15:25 UTC | |
by Anonymous Monk on Aug 18, 2014 at 10:20 UTC | |
by Anonymous Monk on Aug 18, 2014 at 10:57 UTC | |
Re: Starting Strawberry in Win7 (PATHEXT)
by BrowserUk (Patriarch) on Aug 17, 2014 at 13:36 UTC | |
Re: Starting Strawberry in Win7
by NetWallah (Canon) on Aug 17, 2014 at 18:20 UTC | |
by LloydRice (Beadle) on Aug 17, 2014 at 18:55 UTC | |
by Laurent_R (Canon) on Aug 17, 2014 at 19:17 UTC | |
by BrowserUk (Patriarch) on Aug 17, 2014 at 20:32 UTC | |
by Laurent_R (Canon) on Aug 17, 2014 at 20:45 UTC | |
| |
Re: Starting Strawberry in Win7
by Laurent_R (Canon) on Aug 17, 2014 at 09:01 UTC |