Solved

Running Perl script using WINAT

Posted on 1998-09-22
2
253 Views
Last Modified: 2010-03-05
This is not a Perl Script question.
I was trying to run perl script using WINAT.exe and
WINAT didn't execute the script.  I don't have any problems
when I run the command from the DOS prompt (NT platform).
The entry in the WINAT (command Scheduler):
d:\perl\bin\perl build.plx proj.txt  
d:\perl\bin\perl.exe build.plx proj.txt

I even put the command in the batch file.  All the lines
were executed except d:\perl\bin\perl build.plx proj.txt.
Anybody can help?
0
Comment
Question by:hcho77
2 Comments
 

Accepted Solution

by:
jvieira earned 10 total points
ID: 1204946
Are you sure you should be using the .plx extension.  Some perl compilers for WinNT use .pl
0
 

Author Comment

by:hcho77
ID: 1204947
Actually my problem has been resolved.
When I execute the script in the command line,
the PATH in the machine is used.
When I use the scheduler, I have to set the PATH
since the scheduler does not recognize the system path.
It is good to know some compilers use .pl.
Thank you.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question