Jump to content
Sign in to follow this  
Wigan

Clear recent documents with a batch file.

Recommended Posts

Hi all,

 

If you're like me and you get annoyed by 'clutter', this tip might work for you - more so if you're using the 'Classic' start menu in XP.

 

Your most recent documents usually appear at: Start>Documents>Recent Documents

 

Now, it is very easy to clear these by using a batch file and shortcutting that your desktop.

 

To create this batch file, do the following;

 

Right-click a clear spot on the Desktop or in a folder, point to New, and click Shortcut. Type;

 

CMD /C Del /Q "%UserProfile%\Recent"

and click Next. Type;

 

Clear Recent Documents List

 

and click Finish.

 

If you would like to change the look of the .Bat file;

 

Right-click the new shortcut and click Properties. Click Change Icon. Click Browse, type SHELL32.DLL and click OK. Click an appropriate icon (on XP, see the 6th on the top row) and click OK.

 

To avoid the command prompt window popping up, select Minimized in the Run droplist.

 

Click OK to apply the changes.

 

---

 

Thanks must go to TomGL2 for the simplified creation and execution of the .bat file. :)

Edited by Wigan

Share this post


Link to post
Share on other sites

Well there you go, a much easier method of doing things!

 

Thanks a lot TomGL2 :)

Share this post


Link to post
Share on other sites

You're welcome, and thanks.  Since the "method" is now spread across two fairly lengthy posts, it might be best to just incorporate my suggestions into your original post, and I can delete my own.  What say you?

Share this post


Link to post
Share on other sites

You're welcome, and thanks.  Since the "method" is now spread across two fairly lengthy posts, it might be best to just incorporate my suggestions into your original post, and I can delete my own.  What say you?

 

Consider it done! B)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...