I have a compiler that operates on an XML file to create a BGL graphics file.

At a command prompt, the syntax is [bglcomp.exe test.xml] and the output would be test.bgl.

Trying to automate this in the macro that creates the XML code, and with both files in path C:\Temp, I tried:

ID = Shell("C:\Temp\bglcomp.exe test.xml")

This runs with no error messages, but does not compile the XML file. What is the correct method?