tags:

views:

115

answers:

2

Hi all.

I have installed the Active perl in my windows OS. I have followed below url procedure to install

Active Perl Installation

after done with that .. I have tried to run "perl -v " in command line . But it says me following error.

The system cannot execute the specified prgoram

Now What I need to do to solve this issues .. Any one help me out of this problem...

Thanks ..

+2  A: 

You need to make sure the directory where Perl executable lives (might be C:\perl\bin but basically wherever you told ActiveState Perl to be installed) is in your PATH environmental variable (you can find the variable value by typing set PATH command on command line prompt in Windows).

If you're not sure where you installed Perl to (and can't find it in the default C:\perl\bin), you can find the directory by going to Start menu, finding ActiveState Perl folder, and right-clicking on "Perl Package Manager" icon, then pick "Properties" from the right-click menu. Properties window (in the "Shortcut" tab) will have a "Target" line showing the directory.

DVK
+1  A: 

This doesnt sound like a problem with PATH problem - I would expect it to give the message 'perl' is not recognized as an internal or external command, operable program or batch file.

I have not seen this error message but http://nirlevy.blogspot.com/2008/03/system-cannot-execute-specified-program.html makes some suggestion for related programs. Or maybe ask on an active state forum.it

justintime