Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



"History" and "Recent" Folders--how to delete contents ?

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 20-02-2008
troop
 
Posts: n/a
"History" and "Recent" Folders--how to delete contents ?

'LO,

C:\Documents and Settings\Chris\Recent AND C:\Documents and Settings\Chris\Local
Settings\History

have shortcuts that are cleaned automatically but two days later . The shortcuts are an
unfortunate item so I want to delete the contents of these two folders on a reboot.


How ? How to remove the trail ?


Besat Regards,

Reply With Quote
  #2  
Old 21-02-2008
WTC
 
Posts: n/a
Re: "History" and "Recent" Folders--how to delete contents ?

troop wrote:

> 'LO,
>
> C:\Documents and Settings\Chris\Recent AND C:\Documents and
> Settings\Chris\Local Settings\History
>
> have shortcuts that are cleaned automatically but two days later .
> The shortcuts are an unfortunate item so I want to delete the
> contents of these two folders on a reboot.
>
>
> How ? How to remove the trail ?


Hi troop,

Create a batch file and call it cleanup.cmd. Save the file.

---cleanup.cmd Contents----

rd "C:\Documents and Settings\Chris\Recent" /q /s
rd "C:\Documents and Settings\Chris\Local Settings\History" /q /s

---------------------------

Create a new scheduled task with the "cleanup.cmd".

Here are the steps I took:

1. Open Scheduled Tasks.
2. Double-click "Add Scheduled Task"
3. Browse to where you save the "cleanup.cmd" and select the
"cleanup.cmd" file.
4. Name the task and choose "When my computer starts".
5. Enter your user account password.
6. Finished.

If you user account does not have a password then see:

Scheduled Tasks cannot run with a blank password
http://support.microsoft.com/kb/310715


--
William Crawford
MS-MVP Windows Shell/User
Reply With Quote
  #3  
Old 21-02-2008
troop
 
Posts: n/a
Re: "History" and "Recent" Folders--how to delete contents ?

In article <xn0fmnwzp5710bk001@news.microsoft.com>, "WTC" <bcrawfordjr(remove)
@hotmail.com> says...
> troop wrote:
>
> > 'LO,
> >
> > C:\Documents and Settings\Chris\Recent AND C:\Documents and
> > Settings\Chris\Local Settings\History
> >
> > have shortcuts that are cleaned automatically but two days later .
> > The shortcuts are an unfortunate item so I want to delete the
> > contents of these two folders on a reboot.
> >
> >
> > How ? How to remove the trail ?

>
> Hi troop,
>
> Create a batch file and call it cleanup.cmd. Save the file.
>
> ---cleanup.cmd Contents----
>
> rd "C:\Documents and Settings\Chris\Recent" /q /s
> rd "C:\Documents and Settings\Chris\Local Settings\History" /q /s
>
> ---------------------------
>
> Create a new scheduled task with the "cleanup.cmd".
>
> Here are the steps I took:
>
> 1. Open Scheduled Tasks.
> 2. Double-click "Add Scheduled Task"
> 3. Browse to where you save the "cleanup.cmd" and select the
> "cleanup.cmd" file.
> 4. Name the task and choose "When my computer starts".
> 5. Enter your user account password.
> 6. Finished.
>
> If you user account does not have a password then see:
>
> Scheduled Tasks cannot run with a blank password
> http://support.microsoft.com/kb/310715



Thx. I am sole user and cannot remember if I have a password--I do not need it to log
on--I get the Welcome sceen and then the desktop. If I create a password for me as
administrator for this task will I have to use it to log on each time ? Would not be a
preferred operation.
Reply With Quote
  #4  
Old 21-02-2008
MAP
 
Posts: n/a
Re: "History" and "Recent" Folders--how to delete contents ?

troop wrote:
> 'LO,
>
> C:\Documents and Settings\Chris\Recent AND C:\Documents and
> Settings\Chris\Local Settings\History
>
> have shortcuts that are cleaned automatically but two days later .
> The shortcuts are an unfortunate item so I want to delete the
> contents of these two folders on a reboot.
>
>
> How ? How to remove the trail ?
>
>
> Besat Regards,


http://www.javacoolsoftware.com/mrublaster.html

--
Mike Pawlak


Reply With Quote
  #5  
Old 21-02-2008
WTC
 
Posts: n/a
Re: "History" and "Recent" Folders--how to delete contents ?

troop wrote:

> In article <xn0fmnwzp5710bk001@news.microsoft.com>, "WTC"
> <bcrawfordjr(remove) @hotmail.com> says...
> > troop wrote:
> >
> > > 'LO,
> > >
> > > C:\Documents and Settings\Chris\Recent AND C:\Documents and
> > > Settings\Chris\Local Settings\History
> > >
> > > have shortcuts that are cleaned automatically but two days later .
> > > The shortcuts are an unfortunate item so I want to delete the
> > > contents of these two folders on a reboot.
> > >
> > >
> > > How ? How to remove the trail ?

> >
> > Hi troop,
> >
> > Create a batch file and call it cleanup.cmd. Save the file.
> >
> > ---cleanup.cmd Contents----
> >
> > rd "C:\Documents and Settings\Chris\Recent" /q /s
> > rd "C:\Documents and Settings\Chris\Local Settings\History" /q /s
> >
> > ---------------------------
> >
> > Create a new scheduled task with the "cleanup.cmd".
> >
> > Here are the steps I took:
> >
> > 1. Open Scheduled Tasks.
> > 2. Double-click "Add Scheduled Task"
> > 3. Browse to where you save the "cleanup.cmd" and select the
> > "cleanup.cmd" file.
> > 4. Name the task and choose "When my computer starts".
> > 5. Enter your user account password.
> > 6. Finished.
> >
> > If you user account does not have a password then see:
> >
> > Scheduled Tasks cannot run with a blank password
> > http://support.microsoft.com/kb/310715

>
>
> Thx. I am sole user and cannot remember if I have a password--I do
> not need it to log on--I get the Welcome sceen and then the desktop.
> If I create a password for me as administrator for this task will I
> have to use it to log on each time ? Would not be a preferred
> operation.


Hi troop,

You can use a password for your account and then turn on Automatic
Logon for your account.

How to turn on automatic logon in Windows XP
http://support.microsoft.com/kb/315231

<quote>

1. Click Start, and then click Run.

2. In the Open box, type control userpasswords2, and then click OK.

Note When users try to display help information in the User Accounts
window in Windows XP Home Edition, the help information is not
displayed. Additionally, users receive the following error message:
Cannot find the Drive:\Windows\System32\users.hlp Help file. Check to
see that the file exists on your hard disk drive. If it does not exist,
you must reinstall it.

3. Clear the "Users must enter a user name and password to use this
computer" check box, and then click Apply.

4. In the Automatically Log On window, type the password in the
Password box, and then retype the password in the Confirm Password box.

5. Click OK to close the Automatically Log On window, and then click OK
to close the User Accounts window.

</quote>

--
William Crawford
MS-MVP Windows Shell/User
Reply With Quote
  #6  
Old 21-02-2008
troop
 
Posts: n/a
Re: "History" and "Recent" Folders--how to delete contents ?

In article <uLKmZOEdIHA.4936@TK2MSFTNGP03.phx.gbl>, mikepawlak2REM@OVEhotmail.com
says...
> troop wrote:
> > 'LO,
> >
> > C:\Documents and Settings\Chris\Recent AND C:\Documents and
> > Settings\Chris\Local Settings\History
> >
> > have shortcuts that are cleaned automatically but two days later .
> > The shortcuts are an unfortunate item so I want to delete the
> > contents of these two folders on a reboot.
> >
> >
> > How ? How to remove the trail ?
> >
> >
> > Besat Regards,

>
> http://www.javacoolsoftware.com/mrublaster.html



thx
Reply With Quote
  #7  
Old 21-02-2008
troop
 
Posts: n/a
Re: "History" and "Recent" Folders--how to delete contents ?

In article <xn0fmo8ik5mpdp5000@news.microsoft.com>, "WTC" <bcrawfordjr(remove)
@hotmail.com> says...
> troop wrote:
>
> >
> > Thx. I am sole user and cannot remember if I have a password--I do
> > not need it to log on--I get the Welcome sceen and then the desktop.
> > If I create a password for me as administrator for this task will I
> > have to use it to log on each time ? Would not be a preferred
> > operation.

>
> Hi troop,
>
> You can use a password for your account and then turn on Automatic
> Logon for your account.
>
> How to turn on automatic logon in Windows XP
> http://support.microsoft.com/kb/315231
>
>thx again

Reply With Quote
  #8  
Old 13-06-2009
Member
 
Join Date: Jun 2009
Posts: 1
Re: "History" and "Recent" Folders--how to delete contents ?

go to start, run and type sysedit

append the following lines to your autoexec.bat file

rd "C:\Documents and Settings\Chris\Recent" /q /s
rd "C:\Documents and Settings\Chris\Local Settings\History" /q /s

make sure you save your changes and your problem should be solved
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: ""History" and "Recent" Folders--how to delete contents ?"
Thread Thread Starter Forum Replies Last Post
"autorun.inf" & "baswala.exe" folders under the USB drive Kardashian Windows Software 4 28-10-2010 07:16 PM
<input type="button" value="Enregistrer" onclick="location.href=../asp/PRaces.asp"> Luz Software Development 6 18-05-2010 12:27 AM
Add "Delete Folder Contents" To Windows 7 Right Click Deep123 Customize Desktop 3 10-04-2009 08:17 AM
Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove" Green_XP Windows XP Support 1 06-11-2007 01:18 PM
WinXP "Corrupt"--? (Folders Locked "Read Only"!) Kaimbridge Windows XP Support 1 03-01-2007 04:24 AM


All times are GMT +5.5. The time now is 07:59 AM.