Skapa en genväg för att ta bort nya objekt i meny för start för den Windows utsikten (eller XP)
Har du någonsin försökt att gå till och med alla av menyer som krävs för att ta bort de nya objekten i XP-startmenyn? Det tar för evigt, när speciellt du önskar att dölja, allt vad du inte bör ha gjort. Som vanligt, finns det ett enklare långt att göra den.
[Uppdatering] Ett nummer av avläsare har pekat ut det i utsikt som du kan precis rätt-klicka de nya objekten, och att välja ”klara nya objekt lista”. XP är den enda med a grupp av menyer som igenom går. Endera långt detta bör fungera samma över båda versioner.
Du kan endera manuellt öppna den beskjutamappen och frikänden ut objekten, eller du kan använda skriva som jag har git vilket ska faktiskt give dig en genväg, som tar bort de nya objekten med ingenting mer än enklicka.
Precis att vara mycket klar, är denna lista av objekt som vi ska görar klar ut:
Notera: Detta ska inte faktiskt borttagnings som de sparar, det, ska rättvis borttagnings genvägarna till sparar, som lagras i den nya mappen.
Var är den nya mappen, så mig kan ta dem bort manuellt?
Gilla många mappar i Windows, denna döljas bort under ditt profilerar mappen. Den fulla banan på den Windows utsikten skulle är denna och att ersätta din username in i banan:
C:\Users\< användare> \ AppData \ ströva omkring \ Microsoft \ Windows \ nya \,
Om du använder befalla, fodra, dig kan använda den %APPDATA% miljövariabeln för att figurera ut banan, utan att behöva att veta usernamen (detta fungerar också i utforskare som väl),
%APPDATA% \ Microsoft \ Windows \ nya \,
Eller den lättaste möjligheten är långt precis att skriva i denna beskjuter genvägen in i tilltala bommar för, eller startmenysökandet boxas:
beskjuta: nytt
Du kan ta bort några objekt från denna mapp, eller ta även bort alla objekt. You’ll see them disappear from the Recent menu immediately. Again, these are just shortcuts to the actual file, as you can see with the Type column above.
Clear Out the Recent Items With a Shortcut
With a little bit of Windows Script Host magic, we can make a script that deletes the items in the recent folder… it only takes 4 lines of code!
Create a new file named DeleteRecentItems.js with Notepad, and then paste in the following lines (Or just download the zipped file linked below)
var fso = WScript.CreateObject(”Scripting.FileSystemObject”);
var WSH = new ActiveXObject(”WScript.Shell”);
var folder = WSH.SpecialFolders(”Recent”);
fso.DeleteFile(folder + “\\*.*”);
Once you save the file, you should now have a new icon that can be double-clicked to clear the recent items.
If you want to assign a new icon or add a shortcut key, you’ll need to create a shortcut to the file. I’d recommend putting the script file into a folder somewhere, and then creating a shortcut to it in your Quick Launch or Desktop folder.
Once you have the shortcut created, you can right-click on it and choose Properties, and then click on Change Icon or add in a Shortcut key if you would like.
Disclaimer: I tested this out on Windows Vista, but since this deletes files… use at your own risk and I’m not responsible, etc =)
Download DeleteRecentItems Script (Zipped)

Daily Email Updates
You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


just like other things of this nature, it will not protect you from people actively seeking what you’ve done recently. There are still traces:
http://www.nirsoft.net/utils/iehv.html
You can still see where someone has been, what files they opened, and other things.
(where they’ve been supposed they are using IE)
Yo dude! Just right click on the recent items link on your Start menu, then choose “Clear Recent Items List”.
Not hard at all
Dude! Re clearing the recent items folder, just right click on the Recent Items link in your Start menu, then choose “Clear Recent Items List”.
Not hard at all.
@Harry
You are correct, I think perhaps I sold the idea the wrong way =)
This is a very common request that I get though, so I figured it might help somebody.
Too bad – all that work on creating slick solution with a script and everything, and the right-click menu was right there all along. It’s nice to know that even experienced Geeks miss one every now and again.
@Carl
Yeah, I definitely put the wrong spin on the article. Had I been paying more attention I would have written it for XP instead of putting vista into the title. It’s actually useful for XP… not so much for Vista.
I need more sleep. =)
This could be useful for my XP machine, thanks!
Oh, and get some rest, so you can get back to writing great tweaks for us lesser geeks.
Geek, you have pointed out the principles, but i have automaticcally assigned CCleaner to delete everything in the Recent Folder. All i have to do is Right-click run it from the traybar, and 0.5 seconds, voila its deleted.
@ Hash
Beware of CCleaner it delete your Systeme Restore Points
@Maher –
NAH…People don’t need system restore points, those just take up needed hard drive space. Just make a complete image of your hard drive every once in a while and be done with it. [halfway joking]
Why not just make a super-simple batch file to do it in one line?
DEL /Q C:\Docume~1\%UserName%\Recent\*
Works for me..
It has been useful for me!
With Vista you have the choice of the Vista start menu or the Win95 start menu (try it).
IT IS NOT THE WINXP START MENU!!!!!!!!!!
So if you want a recent documents shortcut you have to make it yourself, which means there is no rightclick and clear documents.
Thanks for this! – Need a way of listing recently used programs… where are they held?
I’m using Vista Home Premium, and I see no “clear recent items” option. I’ve tried right-clicking on the actual Recent Items button, and on items in the list itself. The option is not there. I did a search for “clear recent items list” in Help & Support and found nothing.
haha
i did it myself, without downloading the .zip, and it works out just fine.. thx geek
Worked great – now how about adding Clear Temp files, Cookies, Temp Internet Files etc – There are plenty of programs out there that do these tasks but all of them do everything and give no choice of what the user wants to do. I tried to modify the script for The recent Folder to delete cookies but all I got was Access denied
I have been working with this problem for an endless time.
Thanks for the tip – it made my day.
I also noticed on my PC that the number of Maxdocument is much less than I defined
becuese it counts the folders as well as the files.
Your proram was of much help because the “ClearRecent DocsOnExit”
doesn’t do what it is supposed to do. Thanks again
I’m using Vista Home Premium, and I see no “clear recent items” option. I’ve tried right-clicking on the actual Recent Items button, and on items in the list itself. The option is not there. I did a search for “clear recent items list” in Help & Support and found nothing.
It used to be there, but after some update it went away. You’re not crazy, mine is missing too.
It is also pretty useless, as it keeps such a long list, but displays them alphabetically. This means that files that start with numbers are the only ones on the list unless I have cleared it recently. Does anyone know how to change the number of things smaller, and also bring back the clear list function?
Works good for me on WinXP…
I simply created a .txt file, then opened it, then pasted the script, then saved it, then renamed it to cleardocs.js.
Then just double click it or it’s shortcut and whalla!
Clears the recent documents!
woot!
Thanks Geek!
I’m having the same problem as Alex two posts above me. Sometime in the last month, my recent items folder has stopped working properly. It does exactly what Alex says, and therefore provides very little useful information. It keeps files in Recent Items actual folder a really long time, thus making the alphabetical list on the Start menu really obsolete. No matter how old, it lists files starting with numbers, so an alphanumeric list as opposed to a true reverse chronology.
Also, at the same time my index function no longer searches for WordPerfect documents, just, all of sudden for no apparent recent. I too am wondering whether this is a Windows Vista Update gone awry.
Alex and Valerie:
The reason you do not see ‘Clear Recent Items List’ is probably that you used the geek’s script or some third party tool to delete everything from the Recent folder on your Vista machine.
Geek: your script is dangerous to run on Vista – it deletes the default desktop.ini file also. You may not notice the effects immediately – but the next time you restart your computer, you’ll find that Recent Items folder has lost it’s special properties including the ‘Clear Recent Items List’ option.
To fix the missing ‘Clear Recent Items’ option on Vista:
a) Delete the whole Recent Items folder. (If you cannot delete the Recent Items folder, use the geek’s script to delete the desktop.ini in there; restart your computer; and then try again.)
b) Type ’shell:Recent’ at the start menu search box. This will recreate the Recent Items folder with the default desktop.ini file.
c) Restart your computer.
thanks.