Create ahte proper command line string as a string before passign it to the SHELL command. You cna the print the string to the screen to see why it fails. Your use of vars in strings is one reason to why it fails.
_________________________
There are two types of vessels, submarines and targets.