<

How do I make .pl run as perl programs on windows

Published on
8,653 Points
5,453 Views
2 Endorsements
Last Modified:
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with the perl interpreter.  This is normally done by the installer, but not always.

To associate files:
    1) Start Windows explorer
    2) Select, from the menu, Tools -> Folder Options
    3) Select the File Types tab
    4)  Look in the list for a PL extension.  If it does NOT exist:
        4a) Click New
        4b) Type pl for extension
    5) Select the PL extension in the list
    6) In the section "opens with", click Change
    7) Select perl.exe
    8) Click OK until all Windows are closed.
2
Author:Adam314
Ask questions about what you read
If you have a question about something within an article, you can receive help directly from the article author. Experts Exchange article authors are available to answer questions and further the discussion.
Get 7 days free