calling a perl script in batch file

March 9, 2010 at 23:15:48
Specs: Windows XP, intel
Hi Friends,
I just want to write one batch file where in it calls for a particular perl script to run located in one location and display the output in notepad.

Please help me on this one

See More: calling a perl script in batch file

Report •

March 10, 2010 at 05:57:42
Why do you want to call the Perl script from within a batch file? Why not just run the Perl script directly?

Show us what you've tried and tell us what part of the process you don't know how to do.

Report •

March 11, 2010 at 02:13:36
iam just trying to automate few perl scripts located in different drives (c,d,e) under one batch file....
please let me know if you have any solution

Report •

March 11, 2010 at 02:37:50
Don't know too much Perl, but this may do:

@echo off

call "C:\program files\perl\bin\perl.exe" "C:\myperlscripts\" > C:\perl_out.log 2>&1

Report •

Related Solutions

Ask Question