I have file php script run.php:
#!/usr/bin/php
<?php
$typeTest = $argv[1];
`aaa.bat $typeTest`;
?>
And batch file aaa.bat
@echo off
set a=%1
echo %a%
But, when run php run.php string_here on command line windows then error
'@echo' is not recognized as an internal or external command,
operable program or batch file.