
Quote: Originally Posted by
Bob
Dan,
This works for me.
del /y "C:\Users\Dan\AppData\Local\Microsoft\Windows\Temporary Internet
Files\*.*"
attrib -h "C:\Users\Dan\AppData\Local\Microsoft\Windows\Temporary Internet
Files\*.*"
I can't get the files deleted using the DEL command. For that matter I cannot even SEE the files with a simple DIR command. It seems to be the same before or after removing the hidden attribute via "ATTRIB -h".
When I do a:
DIR "C:\Users\Dan\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
I see only directories, no files.
03/23/2008 07:28 PM <DIR> .
03/23/2008 07:28 PM <DIR> ..
03/23/2008 07:28 PM <DIR> Low
0 File(s) 0 bytes
3 Dir(s) 92,626,878,564 bytes free
The files magically appear and can be deleted manually (using Start/Computer/C:...) but I want to delete the files from an automated script (.cmd) file.