Re: "History" and "Recent" Folders--how to delete contents ?
- From: "WTC" <bcrawfordjr(remove)@hotmail.com>
- Date: Wed, 20 Feb 2008 22:25:02 -0800
troop wrote:
In article <xn0fmnwzp5710bk001@xxxxxxxxxxxxxxxxxx>, "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
.
- Follow-Ups:
- References:
- Prev by Date: RE: XP Install Fails: Installation Failed: E\I386\ASMS. Error Mess
- Next by Date: Re: Can't delete media files on USB because "in use" but they arenotin use
- Previous by thread: Re: "History" and "Recent" Folders--how to delete contents ?
- Next by thread: Re: "History" and "Recent" Folders--how to delete contents ?
- Index(es):
Relevant Pages
|
|