AnsweredAssumed Answered

Release file locks on layers after closing MXD

Question asked by geonetadmin on Apr 27, 2010
Original User: abrown

Hi All,

I'm trying to write a "restore session" function for some of our customers.  Basically, I want to have them click a command that closes the current MXD and overwrites some of the files they were using in that MXD (e.g. MDBs, shapefiles, etc.).

A problem I have with ArcMap is that it keeps locks on the files well after you close the MXD or delete the layer.  Is there a way to force it to release those files so I can overwrite them?