It's probably just the case that you did not reboot. ActivePerl
may have added the proper line to your AUTOEXEC.BAT file, but
DOS windows will not get any of it's benefits until you reboot.
You can also see if it is there by looking at the fie yourself. Go
to Start->Run and enter WORDPAD C:\AUTOEXEC.BAT. Look for a line
that starts with PATH and see if the word PERL is in there.
It should be something like C:\PERL\BIN. If it *is* in there,
you are all set, just reboot. If not, you will have to add
it yourself. Find the directory that ActivePerl was installed
into, and then make sure that it has a "BIN" directory under that.
This is the directory that actually stores the PERL.EXE file,
which is what your DOS windows could not find. (You can also
do a "Find" for PERL.EXE to determine the correct directory)
(Side note: you can type the full path to PERL.EXE or
set a temporary path at the command line with
PATH=%PATH%;C:\PERL\BIN if you do not wish to reboot yet.)
At any rate, the paths (places to look for executable
files) are separated by semicolons, so just
add the path to perl at the end of the final PATH statement
in your AUTOEXEC.BAT. In other words, if your AUTOEXEC.BAT
looks ike this:
@ECHO OFF
DOSKEY /INSERT
SET TZ=EST5EDT
cls
Echo Depressing kernel...
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
just change the last line to read:
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PERL\BIN
(or wherever ActivePerl has installed Perl. If you
still can't find it, just do a Find on "PERL.EXE")
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.