You do realize they're just 1K files, right? So if you goal is to reclaim
drive space this ain't gonna do it
Also, though I can't swear to it, I think I read that all searches are based
on the 'Everywhere' or 'Indexed Locations' searches. I'm not sure if Search
will still work if you delete these.
That being said, searches are files with a .search-ms extension. The only
catch is that 'Everywhere' and 'Indexed Locations' have their hidden &
read-only attributes set. So the following two commands will do the trick:
del *.search-ms (most of the searches)
del /ahr *.search-ms ('Everywhere' and 'Indexed Locations')
Extra Credit: Using a shortcut to Notepad in your Send To folder, open a
saved search in Notepad to view the underlying XML
--
Good Luck,
Keith
Microsoft MVP [Windows Shell/User]
"pvc" <pvc.35pnv1@xxxxxx-mx.forums.net> wrote in message
news

vc.35pnv1@xxxxxx-mx.forums.net...
Quote:
>
> I am hoping to find an automated method for deleting the Vista Search
> Folders. I tried command line scripts to remove the folder (RMDIR or
> DELTREE), but I'm not having any luck with the search folders. I am
> able to delete other folders with a script (like this one): Del
> C:\Myfolder\*.*.* RMDir C:\Myfolder But I cannot delete a Vista Search
> Folders like this folder; C:\Users\myname\Searches\Everywhere I can
> delete them manually, but not with a script. Any suggestions?
>
>
> --
> pvc