![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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 Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
|
| | LinkBack | Thread Tools | Display Modes |
| | #11 (permalink) | ||||||||||||
| Guest | Re: Deleting Vista Search Folders "pvc" <pvc.35rc9z@xxxxxx-mx.forums.net> wrote in message news vc.35rc9;z@xxxxxx-mx.forums.net...
is a Junction Point that points the the folder: 'C:\Users\<UserName>\AppData\Roaming\Microsoft\Windows\Recent' So try a 'del *.*' on that. -- Good Luck, Keith Microsoft MVP [Windows Shell/User] | ||||||||||||
My System Specs![]() | |||||||||||||
| | #12 (permalink) | ||||||||||||
| Guest | Re: Deleting Vista Search Folders "pvc" <pvc.35rc9z@xxxxxx-mx.forums.net> wrote in message
del /y C:\Users\Dan\Recent\*.* | ||||||||||||
My System Specs![]() | |||||||||||||
| | #13 (permalink) |
| Member | Re: Deleting Vista Search Folders Thanks again (Bob, I did that); I ended up with the following command (.cmd) file (see below). I will also look into using the Task Scheduler for further automation instead of using the Run command. PLEASE NOTE: I do not recommend this if you are using Indexing for Search! I have my indexing set to index nothing (no files, no folders, no disks). ---------- REM REM Searches REM DEL C:\Users\Dan\Searches\*.search-ms DEL /ahr C:\Users\Dan\Searches\*.search-ms REM REM Saved Games REM DEL C:\Users\Dan\Saved Games\Microsoft Games\Hearts\*.*ms DEL C:\Users\Dan\Saved Games\Microsoft Games\Purple Place\*.*ms DEL C:\Users\Dan\Saved Games\Microsoft Games\Spider Solitare\*.*ms DEL C:\Users\Dan\Saved Games\Microsoft Games\Chess Titans\*.*ms DEL C:\Users\Dan\Saved Games\Microsoft Games\FreeCell\*.*ms DEL C:\Users\Dan\Saved Games\Microsoft Games\InkBall\*.*ms DEL C:\Users\Dan\Saved Games\Microsoft Games\Mahjong Titans\*.*ms DEL C:\Users\Dan\Saved Games\Microsoft Games\Minesweeper\*.*ms DEL C:\Users\Dan\Saved Games\Microsoft Games\Solitare\*.*ms REM REM Recent REM ECHO Y|DEL C:\Users\Dan\AppData\Roaming\Microsoft\office\Recent DEL C:\Users\Dan\AppData\Roaming\Microsoft\Windows\Recent\*.*.* |
My System Specs![]() |
| | #14 (permalink) | ||||||||||||
| Guest | Re: Deleting Vista Search Folders Place the bat file in c:\ "pvc" <pvc.35rjx1@xxxxxx-mx.forums.net> wrote in message news vc.35rjx1@xxxxxx-mx.forums.net...
| ||||||||||||
My System Specs![]() | |||||||||||||
| | #15 (permalink) |
| Member | Re: Deleting Vista Search Folders |
My System Specs![]() |
| | #16 (permalink) | ||||||||||||||||||||||||
| Guest | Re: Deleting Vista Search Folders I mean the root directory of your PC. "pvc" <pvc.35rs93@xxxxxx-mx.forums.net> wrote in message news vc.35rs93@xxxxxx-mx.forums.net...
| ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
| | #17 (permalink) |
| Member | Re: Deleting Vista Search Folders I am trying to delete the following file using an automated script (.cmd) file: C:\Users\<UserName>\AppData\Local\Microsoft\Windows Photo Gallery\Pictures.pd4 I want to automate the task of deleting this file. I can delete the file manually, but I am having trouble deleting it from a script file or from the "Run\CMD" prompt. Any suggestions? Dan Last edited by pvc; 03-25-2008 at 10:10 AM.. |
My System Specs![]() |
| | #18 (permalink) | ||||||||||||
| Guest | Re: Deleting Vista Search Folders This works from a cmd prompt or a batch file. attrib -r -a -s -h del [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.36u2q7@xxxxxx-mx.forums.net> wrote in message news vc.36u2q7@xxxxxx-mx.forums.net...
| ||||||||||||
My System Specs![]() | |||||||||||||
| | #19 (permalink) | |||||||||||||||
| Member | Re: Deleting Vista Search Folders
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? | |||||||||||||||
My System Specs![]() | ||||||||||||||||
| | #20 (permalink) |
| Member | Re: Deleting Vista Search Folders The following commands seems to work. Any way to accomplish this in one command? Probably not because you must change the attributes of the file before deleting?? CD C:\Users\Dan\AppData\Local\Microsoft\Windows Photo Gallery Attrib -r -a -s -h DEL Pictures.pd4 |
My System Specs![]() |
|
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting Windows Desktop Search To Search ALL Folders In WLM | D. Spencer Hines | Live Mail | 0 | 08-04-2008 02:13 AM |
| Deleting old Vista folders | Jake | Vista account administration | 4 | 06-10-2008 06:56 PM |
| Search and deleting files in Vista | atrix415 | Vista General | 8 | 01-23-2008 03:03 AM |
| Deleting Vista setup folders | dssadsa | Vista installation & setup | 1 | 09-03-2007 04:04 PM |
| Deleting the Search Index in Vista Beta 2 | =?Utf-8?B?Um9uYWxk?= | Vista file management | 0 | 08-04-2006 01:09 AM |