Discussion Locked

manually empty temporary internet files

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Does anyone know of a command to manually empty temporary internet files from the command prompt? I have tried:
del "C:\documents and settings\doej\Local Settings\Temporary Internet Files\*.*"
as well as del %userprofile%\local settings\temporary Internet files\*.* with no luck. Any ideas?

2 replies

by shawn

I think the problem is that the files in this location are marked as hidden. Try using some sort of batch script that uses the attrib command to remove the hidden flag, and the delete command should work no problem.

Hope this helps. Let me know how it goes.

Cheers,
Shawn

by jklein

Also be aware that dos only recognizes file names of a certain length(8 I think) look at the DOS prompt while you are in the folder and copy the location exactly(including ~ signs).

This discussion is closed to new replies.