http://www.perlmonks.org?node_id=1231823

ytjPerl has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I have a window command "Runbatch.exe dpsgl -j dpsgl -r dpstst". directory is set. when I put this command in confi.txt and in perl, I use backticks to execute it, it works. but when I use system(), system('Runbatch.exe dpsgl -j dpsgl -r dpstst'), it does not work. it throws out error indicating this runbatch.exe not found. Can you advice why? I suppose system() and backticks function the same. Thanks.