- Dec
- 65
- 3
In the directory "C:\Windows\System32\config\systemprofile\AppData\Local" there are empty subdirectories whose names follow a format of:
tw-xxxxxxxx.tmp
where the "x" is some random hexadecimal character. When I first noticed this, there were more than 2,000 of them (!!!). After some testing, I found that I can delete them all and it causes no problems. But Windows seems to create new ones at a rate of about 20 a day. (wtf?)
I thought I would automate the process, so I tried to add a line to my startup batch file to delete them. But, the documentation for the RD (remove directory) command says that the /S option (remove subdirectories) doesn't support wildcards. So RD /s tw*.tmp won't work.
I tried doing: del /A:D tw*.tmp
which theorectically should delete everything with the directory attribute set. But that doesn't work either. What am I doing wrong?
tw-xxxxxxxx.tmp
where the "x" is some random hexadecimal character. When I first noticed this, there were more than 2,000 of them (!!!). After some testing, I found that I can delete them all and it causes no problems. But Windows seems to create new ones at a rate of about 20 a day. (wtf?)
I thought I would automate the process, so I tried to add a line to my startup batch file to delete them. But, the documentation for the RD (remove directory) command says that the /S option (remove subdirectories) doesn't support wildcards. So RD /s tw*.tmp won't work.
I tried doing: del /A:D tw*.tmp
which theorectically should delete everything with the directory attribute set. But that doesn't work either. What am I doing wrong?