Hello
Thank you for your question and reaching out. I can understand you are having query\issues related to .tmp file in Windows 10.
It will be difficult to determine as All programs or software has different mechanism to save .tmp file , some programs may use .log or .temp or any other extensions.
Reference:
--If the reply is helpful, please Upvote and Accept as answer--