I have an HTA which contains an object tag for an ActiveX control. The ActiveX control is properly registered on my machine:
<object classid="clsid:AAAA0DA1-F887-449E-8A1A-875DCC047977" id="editor"></object>
When I double click on the batch file to run it, everything works great. However, if I launch the HTA from a batch file, the ActiveX controls fail to load. The page loads fine, and I can see the rest of the content, but there is a red X where the Ax control should be.
My batch file looks like this:
START mshta.exe MyHTA.hta