We don't bite newbies here... much | |
PerlMonks |
Re: Running Perl Scripts From Another Windows/DOS Directoryby cciulla (Friar) |
on May 18, 2003 at 04:04 UTC ( [id://258948]=note: print w/replies, xml ) | Need Help?? |
At minimum, your "PATH" environment variable should include "c:\perl\bin". Although you did mention that perl.exe is in your path -- please double check. If you want to run your "test.pl" script anywhere on your system, ensure that the script's directory also resides within your "PATH" environment variable. Assuming you're running some variant of NT (e.g, Win2k or WinXP), you can also add ".pl" onto your "PATHEXT" environment variable saving you some precious keystrokes and be able to run your script just like a ".bat", ".cmd", or whatnot. Unfortunately, this doesn't work with Win9x -- I don't know about WinME, but I would hazzard to guess that it suffers from the same limitation1 -- so your milage may vary. Cē 1 Some may argue that running any operating system from MicroSoft is inherently limited.
In Section
Seekers of Perl Wisdom
|
|