Actually I have the same issue.
It started some weeks ago (april 2023)
When ever I open a file in Word, or Excel nothing happens, but as soon as I change anything and press save to keep it, while continuing work.
Then a file is created in the same folder as my files (No matter which folder I am in)
While editing ie. a text - then it create a visible file, like ~$toPlan.docx (Size = 162)
When I close Word or Excel, this temp file disappear, but instead a file like ~WRD0000.TMP is created (Size = 0)
I fully understand the thing about making TMP while we edit Word, Excel or such.
But I have never before seen the TMP files in my operative work folders.
And also never before seen these programs spawning ~xxxxx.TMP zero byte files in my folders.
These TMP are 'not' in hidden mode.
They just started appearing a few weeks ago, and I haven't been able to find out how to stop the annoying files.
Ok - I just delete them. But remembering to do that after each work on a text is cumbersome.
I suspect that it has arrived with some new update of my programs
It is: Microsoft® Word til Microsoft 365 MSO (Version 2208 Build 16.0.15601.20590) 64-bit
Any help to stop the spreading of these TMP files will be appreciated