in reply to Re^2: Perl SYSCALL
in thread Perl SYSCALL

Try using the system() builtin function. As you are redirecting the output of the batchfile to a file, there is no point in opening a pipe from that batch to your script.

If it doesn't help try to execute "$ENV{ComSpec} $pathcc\\$hldbat > $pathcc\\$txtname.txt".

Jenda
Enoch was right!
Enjoy the last years of Rome.