471,055 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,055 software developers and data experts.

Perl Question

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

thanks in advance

Tom
Jul 19 '05 #1
1 2807
Tom wrote:
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
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by John Smith | last post: by
31 posts views Thread by surfunbear | last post: by
3 posts views Thread by lonelyplanet999 | last post: by
2 posts views Thread by James Hull | last post: by
1 post views Thread by sm00thcrimnl13 | last post: by
3 posts views Thread by John Smith | last post: by
reply views Thread by Kirt Loki Dankmyer | last post: by
1 post views Thread by M.N.A.Smadi | last post: by
13 posts views Thread by Otto J. Makela | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.