Just in case anyone else spends several hours trying to get this to work like I did here's a hint: if you are using bat2exec to convert your .bat to a .com then you MUST have a space after the pipe (|).
By the way has anyone managed to get a batch file with SET commands to convert to .com using bat2exec ?

------------------