Welcome to Discuss Everything Forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


 

Tags for this Thread

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    johnnyloot
    johnnyloot's Avatar
    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

  2. #2
    Dfg D
    Dfg D's Avatar
    Guest

    Cant execute perl scripts?

    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?

 

 

Quick Reply Quick Reply

Click here to log in


What is the number after 87?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to execute php scripts in xampp?
    By Sunita in forum Discuss PHP
    Replies: 1
    Last Post: 05-12-2010, 10:16 PM
  2. how to execute php scripts in xampp?
    By Sunita in forum Discuss PHP
    Replies: 0
    Last Post: 05-12-2010, 03:18 AM
  3. Why can't I execute my Perl script?
    By Speed in forum Discuss PERL
    Replies: 1
    Last Post: 09-17-2009, 05:43 AM
  4. Why can't I execute my Perl script?
    By Speed in forum Discuss PERL
    Replies: 0
    Last Post: 08-17-2009, 02:16 PM
  5. Cant execute perl scripts?
    By johnnyloot in forum Discuss PERL
    Replies: 1
    Last Post: 01-04-2009, 06:31 PM

Bookmarks

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •