Jeeva J
Jeeva J

Reputation: 3253

How to change perl default executable file path in windows?

Now I'm using Padre IDE. Since I am using that, It uses different perl.exe file to run the code.

But by default perl.exe path is set to C:\Perl\bin\perl.exe. I want to change this path to IDE path. How to change this ?

Upvotes: 0

Views: 4222

Answers (2)

RickF
RickF

Reputation: 1822

The search path is stored in the PATH environment variable. The path to the IDE version is either missing or comes after 'C:\Perl\bin' in the list.

At the command line, you can view the setting with this command:

echo %PATH%

If it's just missing, this command will add the one you want to the front of the list:

setx PATH "Path\To\IDE\Perl;%PATH%" /m

Actually, that should work in any case - nothing should break because of a duplicated entry in the list.

Upvotes: 0

unavensluncem
unavensluncem

Reputation: 26

This path is save in environment variable PATH (Advanced System setting->Advanced->Environment Variables).

Upvotes: 1

Related Questions