in reply to SYSCALL - followup 1
in thread Perl SYSCALL

What do you want to do, actually?

You're trying to run the following command (with the variable names interpolated):

$pathcc\\$hldbat > $pathcc\\$txtname.txt" |

Maybe you don't want to have the pipe at the end? Maybe you're unaware of qx and system?

Also, there is little need to create a new root node if all you're doing is continue your original post. You could have at least linked to your previous post so somewhat more context was provided.