When opening a Shared Object Repository (SOR) with the QTP Object Resource Manager (ORM) in read write mode, there are two files created in the TEMP directory. Each of these TEMP files is approximately the same as the original SOR. When ORM is closed one of the two TEMP files is removed from the TEMP directory but the other stays in the TEMP folder. I do not see anything within QTP that will clean up this extra file in the TEMP folder created by the ORM.
If you want to move the location QTP uses for a TEMP folder then you will have to change the system environment variable TEMP. This will change the location for other application on the machine. I do not recommend changing system environment variable since this will affect system performance.
Recommend manually deleting the files to keep file space to a minimum. This can be done by creating a batch file with the following commands.
---------------------------------------
DEL ''%TEMP%tsr*.tmp''
-------------------------------------