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

T

troop

'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,
 
W

WTC

troop said:
'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
 
T

troop

"WTC" <bcrawfordjr(remove) said:
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.
 
W

WTC

troop said:
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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top