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.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.