Solved

Running Perl script using WINAT

Posted on 1998-09-22
2
250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 …
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

914 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now