HI All i am working on the application AutoCAD Civil 3D 2012  x64  version 1. Have given one simplex.shx file and  I have to replace silently the simplex.shx file in ‘C:\Program Files\Autodesk\AutoCAD Civil 3D 2012\UserDataCache\Support’ with the provided ‘simplex.shx’ file . Anyone have suggestion on how it can be done? Appreciate your response. 

0 Comments   [ + ] Show Comments


Please log in to comment



Has AutoCAD been deploayed already? If so you will need to find another way to get the file onto the computers, a dirty batch would be easist.

If its not deployed you can create a transform dropping that file in place on install, if there is a file already there with that name you will need to drop that file (i think, might not need to) and to ensure it gets written if there was another file with the same name, assign the version 65535.65535.65535.65535 to the file in the File Table.

Answered 05/23/2013 by: rileyz
Red Belt

  • HI Thanks for reply. yes AutoCAD Civil 3D 2012 is already been in production and my job is to replace 'simplex.shx’ file with new 'simplex.shx’ file for AutoCAD Civil 3D 2012. In our standards we dont use batch scripts. how it can be done in vb script? Thanks for reply.
  • My VB sucks, so you will either have to wait till someone else answers, or have a a look on google. I had a quick search and looks stright forward tho the error checking part may require more work.
  • Use the FileSystemObject to first detect the file and then overwrite it forcefully. Also as a part of error handling u can check processes if there are any related to AutoCAD. So first close all the processes and then replace file
Please log in to comment
Answer this question or Comment on this question for clarity