Executing a command from the dos shell using the before subr
Posted: Wed Oct 10, 2001 7:40 am
Hello all,
I am trying to use the before job subroutine ExecDOS to run a perl script to tidy up an input file prior to processing it. I get the following error
message:
pabx.BeforeJob (ExecDOS): Error when executing command: perl C:perlscriptsPABX_to_csv.pl
*** Output from command was: ***
perl is not recognized as an internal or external command, operable program or batch file.
I try writing a batch file test, which contains perl C:perlscriptsPABX_to_csv.pl and I get the following error message:
pabx.BeforeJob (ExecDOS): Error when executing command: "test.bat"
*** Output from command was: ***
pabx.bat is not recognized as an internal or external command, operable program or batch file.
Anyone have any ideas why the command is not recognised?
Thanks in advance,
Simon Vollett
I am trying to use the before job subroutine ExecDOS to run a perl script to tidy up an input file prior to processing it. I get the following error
message:
pabx.BeforeJob (ExecDOS): Error when executing command: perl C:perlscriptsPABX_to_csv.pl
*** Output from command was: ***
perl is not recognized as an internal or external command, operable program or batch file.
I try writing a batch file test, which contains perl C:perlscriptsPABX_to_csv.pl and I get the following error message:
pabx.BeforeJob (ExecDOS): Error when executing command: "test.bat"
*** Output from command was: ***
pabx.bat is not recognized as an internal or external command, operable program or batch file.
Anyone have any ideas why the command is not recognised?
Thanks in advance,
Simon Vollett