Any newer version of Windows doesn't allow you to run anything with a command prompt.
I would create another program that the server calls and this program handles the call to you first program and suppress the command prompt or redirect it
to another location.
/Fredrik
www.xpagedeveloper.com