View Single Post
Old 04-02-2008   #29 (permalink)
Bob


 
 

Re: Deleting Vista Search Folders


See if this works for you:
attrib -r -a -s -h del /y [drive] path] [filename]
-------
*Report back, please*
[When responding to posts, please include the post(s) you are replying to so
that others may learn and benefit from the issue]

[How to ask a question]
http://support.microsoft.com/kb/555375

"pvc" <pvc.378wr2@xxxxxx-mx.forums.net> wrote in message
newsvc.378wr2@xxxxxx-mx.forums.net...
Quote:

>
> Bob;669505 Wrote:
Quote:

>> 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.
>
>
> --
> pvc
My System SpecsSystem Spec