Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Mon, 23 May 2011 @ 08:40:04 GMT

  <Prev Next>   <<First <Prev

Subj:   Re: Running a Perl script
From:   Mukardamwala Suhel

Yes .. it requires a full path... if the file directory and execution directory is not same.

Let's say my script is D:\tmp\temporary\file.pl

I want to execute it from command prompt

Then you need to submit as

C:\>perl D:\tmp\temporary\file.pl

If you are inside D:\tmp\temporary directory then

You can submit as

D:\tmp\temporary\> perl file.pl

Alternatively you can keep D:\tmp\temporary\ in PATH variable to invoke it from anywhere.

I hope it would help.

Thanks and regards,

Suhel Mukardamwala

  <Prev Next>   <<First <Prev
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023