Loading ...
Sorry, an error occurred while loading the content.

[PBML] Re: perl on windows??

Expand Messages
  • Greg Flowers
    Try using the full path to the script: Example: run.bat ... echo off perl c: path script.pl ... Greg Flowers http://www.eng.auburn.edu/~gregoryf ... From:
    Message 1 of 2 , Dec 30, 1999
    • 0 Attachment
      Try using the full path to the script:

      Example: run.bat
      ------------------
      echo off
      perl c:\path\script.pl


      -----------------------------------------------------
      Greg Flowers
      http://www.eng.auburn.edu/~gregoryf
      ----- Original Message -----
      From: <crengifo@...>
      To: "dmarney" <dmarney@...>; <perl-beginner@egroups.com>
      Sent: Thursday, December 30, 1999 9:14 PM
      Subject: [PBML] Re: perl on windows??


      > > I've been learning perl on unix for a few weeks, and thought I would
      give it a whirl
      > > on windows. I know squat about DOS ( as you will now see ). I downloaded
      the
      > > pre built PERL from ActiveState and it went fine.
      > >
      > > However now it will only recognise the scripts I write using Notepad if
      I put them
      > > in C:\WINDOWS.
      > >
      > > If I am in any other directory it does'nt work ( but perl is found ok,
      perl -v works )
      > >
      > >
      >
      > Add
      > SET PATH=C:\PERL\BIN;
      > into Autoexec.bat
      >
      > Also, In Windows, you can run your script from a batch file, and click.
      > Example: run.bat
      > ------------------
      > echo off
      > perl script.pl
      > ---------------
      >
      >
      > ------------------------------------------------------------------------
      > Want to send money instantly to anyone, anywhere, anytime?
      > You can today at X.com - and we'll give you $20 to try it! Sign
      > up today at X.com. It's quick, free, & there's no obligation!
      > http://click.egroups.com/1/332/1/_/12898/_/946609623
      >
      > -- Create a poll/survey for your group!
      > -- http://www.egroups.com/vote?listname=perl-beginner&m=1
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.