Have you tried using the command line version of the Render command. This will provide you the option to specify the path for the render image.
Try "-Render" inside AutoCAD. You can then pass the same parameters using code.
Hope this helps.
Access a broad range of knowledge to help get the most out of your products and services.