double quotes we generate shell syntax errors. Use @echo ${command:Q} instead which properly quotes shell metacharacters.