Cant execute perl scripts?

  • Thread starter Thread starter johnnyloot
  • Start date Start date
J

johnnyloot

Guest
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
 
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?
 
Back
Top