in reply to Re: Strange problem with Windows 7 command line and perl
in thread Strange problem with Windows 7 command line and perl

Using the "Name" give by your association:
>assoc .pl .pl=Perl_program_file
Check your registry by running :
>reg query "HKEY_CLASSES_ROOT\Perl_program_file\shell\Execute Perl Pro +gram\command"
Mine shows:
HKEY_CLASSES_ROOT\Perl_program_file\shell\Execute Perl Program\command (Default) REG_SZ C:\Strawberry\perl\bin\perl.exe "%1" %*
This will locate the perl binary that ran your ".pl" script.

After that, you need to make sure it is in the PATH.

        ...it is unhealthy to remain near things that are in the process of blowing up.     man page for WARP, by Larry Wall