perldoc perlop
What problem, exactly? Do you want to make a .bat file from a Perl script as the post above yours or are you trying unsuccessfully to call a .bat file from a Perl script?
I'm calling .bat file from perl and it's not executing
qx(cmd -c "c:/temp/foo.bat");
Adam, I have tried your execusion of bat file from ipl, it didn't work for me. It kind of hangs forever.qx(cmd -c "c:/temp/foo.bat");Thanks
Thank you adam, some of those work, but when i am trying to run this from a command line it again hangs, i guess there is no exit statement.Do i need an exit statement?i am doing thissystem('C:/Interwoven/TeamSite/tmp/DigitalAV_fileList.bat') == 0 or die "system failed";Thanks
Yes you are right. Lets assume, i don't need exit statement or in other words an exit comment when it fails ( when it is 1). But some how if i use ganeral system command to run this batch file it the CLT still hangs, it doesn't give me command prompt again.Donno why, all my batch file is doing is deleting a text file from the iw-home/tmp directory.Thankssystem('C:/Interwoven/TeamSite/tmp/DigitalAV_fileList.bat');