No need to disconnect the battery to swap DME's.
When you disconnect the electrical connection on the DME you're doing the exact same thing that disconnecting the battery accomplishes, cutting power to the DME.
Being that it's a '93 there's no EWS codes to worry about. If the DME you've got is the same part # as what's in the car there's no need to swap chips. Just swap DME's. If the DME is a different part # I'm not sure what to tell you as I don't hear much about DME compatibility.
Cosmos Black/Black 1995 540iA M-Sport
BMW Individual Exclusive Edition, 1 of 65 total, 9/25/95 Build