With the batch file maybe redirecting the output? http://www.robvanderwoude.com/battech_redirection.php[^] Interesting topic, I imagine you are getting the 404 because you are expecting the CGI_Java to be passed as a command line argument. I don't think the browser works that way. Have never tried anything like this but wonder if any querystring variables would be passed as command args like... http://localhost/java.exe?CGI\_Java :~ ???