Temp Files on other drives

I have a terminal server network and files are created on any number of drive locations other than C:

I have scanned the server and have found numerous temp word docs that I'd like to get rid of.

I have read posts that say to create a batch file to remove temp files, but my question is if this is actually a good idea to do?

Basically I'd like to create a batch file to delete *.tmp files found on drive D and E

Any thoughts on this?