Perl Question

J

Jürgen Exner

Tom said:
How do i run a batch file from a perl script?

Your question is a bit unclear. What do you mean by "batch file"?
A regularly scheduled job? In that case you should look into the scheduler
that comes with your OS, e.g. cron (on Unix) or at (on Windows).
Or are you simply asking how to call another program from a Perl script?
Then look into e.g. system() or qx() (same as backticks) or even open() with
a pipe.
Or does calling other programs work fine but you have some specific problem
calling a batch script? In that case please be more specific about the
problem you encounter.

jue
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,049
Members
48,769
Latest member
Clifft

Latest Threads

Top