Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - Deleting Vista Search Folders

Reply
 
Old 03-25-2008   #21 (permalink)
pvc


Vista Home Premium 64bit
 
 

Re: Deleting Vista Search Folders

Hmmmmm...
It works even without the Attrib command. Though I don't understand why I have to change directory first???

This works:
CD C:\Users\Dan\AppData\Local\Microsoft\Windows Photo Gallery
DEL Pictures.pd4

and this does NOT work:
DEL C:\Users\Dan\AppData\Local\Microsoft\Windows Photo Gallery\Pictures.pd4

Oh, I'm leaving on a mini vacation. So if someone replies I may not read your reply for a while...


Last edited by pvc; 03-25-2008 at 01:21 PM..
My System SpecsSystem Spec
Old 03-25-2008   #22 (permalink)
Bob


 
 

Re: Deleting Vista Search Folders

At a command prompt Type attrib /? for help on the attrib command.

You probably "get no access to the files" because WPG does not save files to
the WPG folder/directory. Files are saved to the same folder/directory you
opened them from.

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

>
> Bob;661215 Wrote:
Quote:

>> This works from a cmd prompt or a batch file.
>>
>> attrib -r -a -s -h del [drive] path] [filename]
>> -------
>> *Report back, please*
>>
> Thanks Bob;
> When I do a dir C:\Users\<UserName>\AppData\Local\Microsoft\Windows
> Photo Gallery I get a file not found. I can look at these files; dir
> C:\Users\<UserName>\AppData\Local\Microsoft but when I add the Windows
> Photo Gallery folder I get no access to the files.
>
> I don't understand how to use attrib -r -a -s -h??? Can you show me
> the exact format?
>
>
> --
> pvc
My System SpecsSystem Spec
Old 03-26-2008   #23 (permalink)
Keith Miller \(MVP\)


 
 

Re: Deleting Vista Search Folders

Because of the spaces in the name of 'Windows Photo Gallery', you need to
enclose the entire path in quotes:

DEL "C:\Users\Keith\AppData\Local\Microsoft\Windows Photo
Gallery\Pictures.pd4"

--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]



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

>
> Hmmmmm...
> It works even without the Attrib command. Though I don't understand
> why I have to change directory first???
>
> This works:
> CD C:\Users\Dan\AppData\Local\Microsoft\Windows Photo Gallery
> DEL Pictures.pd4
>
> and this does NOT work:
> DEL C:\Users\Dan\AppData\Local\Microsoft\Windows Photo
> Gallery\Pictures.pd4
>
> Oh, I'm leaving on a mini vacation. So if someone replies I may not
> read your reply for a while...
>
>
> --
> pvc
My System SpecsSystem Spec
Old 03-28-2008   #24 (permalink)
pvc


Vista Home Premium 64bit
 
 

Re: Deleting Vista Search Folders

Quote  Quote: Originally Posted by Keith Miller \(MVP\) View Post
Because of the spaces in the name of 'Windows Photo Gallery', you need to
enclose the entire path in quotes:

DEL "C:\Users\Keith\AppData\Local\Microsoft\Windows Photo
Gallery\Pictures.pd4"

--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]
Yep, enclosing the entire path in quotes works just fine.
My System SpecsSystem Spec
Old 04-01-2008   #25 (permalink)
pvc


Vista Home Premium 64bit
 
 

Re: Deleting Vista Search Folders

I have another folder that is giving me trouble (Temporary Internet Files). I can delete the files manually. But I cannot delete them from an automated script (.cmd) file. Also I tried placing the entire path in quotes because the folder name contains spaces. btw> I use Mozilla Firefox instead of Internet Explorer:

DEL "C:\Users\Dan\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
My System SpecsSystem Spec
Old 04-01-2008   #26 (permalink)
R. C. White


 
 

Re: Deleting Vista Search Folders

Hi, pvc.

I'm not sure if those TIF files can be deleted while IE is running. TIF
files don't behave like "normal" files and are best handled by IE's Tools |
Internet Options. On the first (General) page, under Browsing history,
there are buttons to Delete or to change the TIF files.

In Tools | Internet Options | Advanced, under Security (the last category),
you can check the box to "Empty Temporary Internet Files folder when browser
is closed". Does this accomplish what you are trying to do?

RC
--
R. C. White, CPA
San Marcos, TX
rc@xxxxxx
Microsoft Windows MVP
(Running Windows Live Mail 2008 in Vista Ultimate x64 SP1)

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

>
> I have another folder that is giving me trouble (Temporary Internet
> Files). I can delete the files manually. But I cannot delete them from
> an automated script (.cmd) file. Also I tried placing the entire path
> in quotes because the folder name contains spaces. btw> I use Mozilla
> Firefox instead of Internet Explorer:
>
> DEL "C:\Users\Dan\AppData\Local\Microsoft\Windows\Temporary Internet
> Files\*.*"
>
>
> --
> pvc
My System SpecsSystem Spec
Old 04-01-2008   #27 (permalink)
Bob


 
 

Re: Deleting Vista Search Folders

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\*.*"

-------
*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

Quote:

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

>>
>> I have another folder that is giving me trouble (Temporary Internet
>> Files). I can delete the files manually. But I cannot delete them from
>> an automated script (.cmd) file. Also I tried placing the entire path
>> in quotes because the folder name contains spaces. btw> I use Mozilla
>> Firefox instead of Internet Explorer:
>>
>> DEL "C:\Users\Dan\AppData\Local\Microsoft\Windows\Temporary Internet
>> Files\*.*"
>>
>>
>> --
>> pvc
>
My System SpecsSystem Spec
Old 04-02-2008   #28 (permalink)
pvc


Vista Home Premium 64bit
 
 

Re: Deleting Vista Search Folders

Quote  Quote: Originally Posted by Bob View Post
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.
My System SpecsSystem Spec
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
Old 04-03-2008   #30 (permalink)
Keith Miller \(MVP\)


 
 

Re: Deleting Vista Search Folders

Try dir /a

There's a hidden subdirectory structure under Content.IE5

From the TIF directory, this deleted a bunch of files for me:

del /a /s /q *.*

though some still showed via the IE -> Options interface. But I forgot to
check that before deletion

--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]



"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
Reply

Thread Tools


Similar Threads
Thread Forum
Deleting Search Results-Vista Vista General
Deleting remnants of a VISTA search General Discussion
Deleting old Vista folders Vista account administration
Search and deleting files in Vista Vista General
Deleting the Search Index in Vista Beta 2 Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46