ActiveState Community

path

"No perl found at C:\perl\bin\perl.exe" when using PerlApp

OS: Windows | Product: Perl Dev Kit | tags: error path PDK perlapp
Question: 

When I try to use PerlApp I get the following error: "No perl found at C:\perl\bin\perl.exe" -- but that file is really there. What's going on, and how can I fix it?

Answer: 

This message is usually caused by the directory containing cmd.exe not being found in your PATH environment variable. The usual directory to ensure is there is C:\Windows\System32. If it's missing, simply add it and PerlApp will work as expected.

Adding a User Environment Variable in Windows

OS: Windows 2000 Pro / Server | Product: Main | tags: path windows
Question: 

How do I add a 'user' environment variable under Windows?

Answer: 
  1. Right-click 'My Computer' and select 'Properties'
  2. Click the 'Advanced' tab, then 'Environment Variables'. This opens
    the Environment Variables dialog.
  3. In the top 'User variables for ' pane, select 'PATH' and
    click 'Edit'. If there is no 'PATH' variable, click on 'New' to create
    it.
  4. Add this to the beginning of the 'Variable value' field:
  5.   C:\perl\bin;
    
  6. Click 'Ok' to close each open dialog

You may want to open a new command prompt to check if perl is now in the
path. The following command should work (and return perl's version
information) if the above steps were successful:

  C\>perl -v