in reply to Re^4: Using System command
in thread Using System command

Thanks a lot for that clarification @gods. It is giving proper results now with the use of quotes "" in the to form the final command.

system("$cmd && $cmd1");