View Full Version : Disk Cleanup does not work


Peter
06-23-2006, 05:07 AM
When I try to use Disk Cleanup the subsrcreen pops up but it never completes
the analysis showing the results of files that can be erased. Any ideas?

Also, There are a few file in my temporary IE directories that I cannot
delete. The files names are very long and I cannot rename to shorter names.

Jerold Schulman
06-23-2006, 02:37 PM
On Thu, 22 Jun 2006 21:07:02 -0700, Peter <Peter@discussions.microsoft.com> wrote:

>When I try to use Disk Cleanup the subsrcreen pops up but it never completes
>the analysis showing the results of files that can be erased. Any ideas?
>
>Also, There are a few file in my temporary IE directories that I cannot
>delete. The files names are very long and I cannot rename to shorter names.


See tip 5920 » How do I speed up Disk Cleanup or possibly prevent it from hanging?
in the 'Tips & Tricks' at http://www.jsifaq.com

Try deleting them from a CMD.EXE prompt using wildcards. If their name started with abc, then

Del /q /f "%userprofile%\Local Settings\Temporary Internet Files\abc*.*" /s

or

Del /q /f "\\.\%userprofile%\Local Settings\Temporary Internet Files\abc.*" /s

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com

Peter
06-24-2006, 10:22 PM
Thanks Jerold. I had trouble finding the correct path to the file so I cut
the subdirectory and pasted it to My Documents where I was able to delete as
normal. Removing these files also seemed to sovle my disk clenup from hanging
as well.

"Jerold Schulman" wrote:

> On Thu, 22 Jun 2006 21:07:02 -0700, Peter <Peter@discussions.microsoft.com> wrote:
>
> >When I try to use Disk Cleanup the subsrcreen pops up but it never completes
> >the analysis showing the results of files that can be erased. Any ideas?
> >
> >Also, There are a few file in my temporary IE directories that I cannot
> >delete. The files names are very long and I cannot rename to shorter names.
>
>
> See tip 5920 » How do I speed up Disk Cleanup or possibly prevent it from hanging?
> in the 'Tips & Tricks' at http://www.jsifaq.com
>
> Try deleting them from a CMD.EXE prompt using wildcards. If their name started with abc, then
>
> Del /q /f "%userprofile%\Local Settings\Temporary Internet Files\abc*.*" /s
>
> or
>
> Del /q /f "\\.\%userprofile%\Local Settings\Temporary Internet Files\abc.*" /s
>
> Jerold Schulman
> Windows Server MVP
> JSI, Inc.
> http://www.jsiinc.com
> http://www.jsifaq.com
>