A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows XP Help and Support
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Recent Files Deletion ?



 
 
Thread Tools Display Modes
  #1  
Old November 1st 12, 11:38 AM posted to microsoft.public.windowsxp.help_and_support
No_Name
external usenet poster
 
Posts: 7
Default Recent Files Deletion ?

Is there any way to selectively delete, via a batch file, the
shortcuts in the Recent Files Folder? I'd like to keep the Excel and
Word documents' listings so they will appear when I use Excel and
Word, but delete the others (jpg, mp4, etc.).

I've created a batch file with what looks like the appropriate
commands, but they don't reference the shortcuts; here's an example:
del /q /s /f "C:\Documents and Settings\user\Recent\*.jpg"

Thanks for any assistance.
Ads
  #2  
Old November 1st 12, 02:43 PM posted to microsoft.public.windowsxp.help_and_support
Ron Hardin
external usenet poster
 
Posts: 208
Default Recent Files Deletion ?

wrote:

Is there any way to selectively delete, via a batch file, the
shortcuts in the Recent Files Folder? I'd like to keep the Excel and
Word documents' listings so they will appear when I use Excel and
Word, but delete the others (jpg, mp4, etc.).

I've created a batch file with what looks like the appropriate
commands, but they don't reference the shortcuts; here's an example:
del /q /s /f "C:\Documents and Settings\user\Recent\*.jpg"

Thanks for any assistance.


Cygwin reports a trailing .lnk in shortcut filenames, eg

-rwx------+ 1 rhh None 763 Oct 31 20:03 temp 001.jpg.lnk
-rwx------+ 1 rhh None 763 Sep 1 13:15 temp 008.jpg.lnk
-rwx------+ 1 rhh None 763 Sep 1 13:16 temp 012.jpg (2).lnk
-rwx------+ 1 rhh None 763 Feb 21 2006 temp 012.jpg.lnk
-rwx------+ 1 rhh None 763 Sep 1 13:16 temp 013.jpg.lnk
-rwx------+ 1 rhh None 763 Oct 29 12:31 temp 016.jpg.lnk
-rwx------+ 1 rhh None 763 Mar 30 2006 temp 026.jpg.lnk
-rwx------+ 1 rhh None 763 Nov 1 2010 temp 101.jpg.lnk
-rwx------+ 1 rhh None 773 Mar 23 2009 temp 12301.jpg.lnk
-rwx------+ 1 rhh None 768 Apr 5 2008 temp 1301.jpg.lnk
-rwx------+ 1 rhh None 773 May 16 2009 temp 14950.jpg.lnk
-rwx------+ 1 rhh None 773 May 19 2009 temp 15159.jpg.lnk
--


On the internet, nobody knows you're a jerk.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 12:12 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.