Find your php.exe path and run command from there.
Like if your php.exe is in C:\PHP5\php.exe
, then you can execute like this
C:\PHP5\php.exe "C:\\Xml2InDesign\\InDesignTagConverter.php\"
Refer this link
OR
if you want to run it through php code then use exec command