I don't want to terminate the application, simply replace a file that the application is using.
I am trying to implement a program with the Sims 2 that switches a custom CAS! file (available here: http://www.modthesims.info/d/409968). It would be more useful if it could switch the file without restarting the Sims, but every file that is in the Sims 2 Downloads directory is locked even if it is not being used.