Cant execute perl scripts?
Written by ScriptInstaller on October 25th, 2009
Hi, I made a program that needs to be executed through The command prompt. I’ve tried so many ways but all it does is give me this error “Windows cannot open this file” then it says “Search the internet for the correct program, OR Use a default program”
For the record yes i have activeperl downloaded and installed
Heres the following ways i’ve tried to get it to work (Please note every time i skip a line that means i pressed enter when i was trying to open it)
cd desktop
perl whateverfile.pl
Example 2:
cd C:\Perl\bin
whateverfile.pl
Example 3:
cd C:\Perl\bin
perl whateverfile.pl
Example 4:
cd ..
cd ..
cd Perl\bin
perl whateverfile.pl
Non of these ways were successful can someone please help me?
Related Blogs
- Underway: Overdrive's Program for Visually Impaired Readers, LEAP …
- Bo-DMweapons2.jpg ยป Living Sense
- What's the difference between PHP, IFrame and DIV Coding when your …
- Carrie Underwood Describes Her Style Evolution | CMT Blog
- Cary Mulligan's Style | ShoeBlog
Tags: Correct Program, Default Program, Desktop, Perl Example, Perl Scripts, Pl

1 Comment at "Cant execute perl scripts?"
Is whateverfile.pl in C:\perl\bin?
My guess is probably not. When you put in the filename, try putting in the full path.
cd C:\Perl\bin
perl C:\somefolder\whateverfile.pl