A file match for *.tmp also returns various *.tmpll files, is there anyway to restrict it to *.tmp files only?
dir C:\*.tmp /s
Also lists a load of *.tmpll files as well.
Reason for doing this is to provide a simple way of deleting all windows temp files now that CleanMgr has been removed from Server 2012. Even if restored CleanMgr no-longer works properly, it doesn't have options for deleting temp files only recycle bin and thumbnails.