hi friends,
need help from you....
i have a Windows batch program..
i need to run it from a perl script.....
regards
rohit
need help from you....
i have a Windows batch program..
i need to run it from a perl script.....
regards
rohit
system("C:\\mybatch.bat");
system("start C:\\mybatch.bat"); ## this will open a new command window
exec("C:\\mybatch.bat");
`C:\\mybatch.bat`; # using backticks(reverse quotes)
@res=`C:\\mybatch.bat`;
system("C:\\mybatch.bat");
system("start C:\\mybatch.bat"); ## this will open a new command window
exec("C:\\mybatch.bat");
`C:\\mybatch.bat`; # using backticks(reverse quotes)
@res=`C:\\mybatch.bat`;
Comment