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



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
.



Relevant Pages

  • Re: Removing IE7/Restoring IE6
    ... file deletion continued and ended up with window stating ... Went to Windows Update site (had earlier done a repair install). ... click on Internet Explorer and select New String Value. ... The value of the new String should be your User account ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: How to login to window automatically everytime window start
    ... ASPNET is a hidden user account on all machines...to do with the .net ... An important Windows policy setting is not set for optimum security. ... I can login and go to Start -> Run and doing all ... I don't know how this change happen: window should logon automatically ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: username and picture not showing up when window xp start
    ... single User account without displaying the Welcome screen. ... > everytime Window XP start it show the welcome screen then it automatically ... > window xp and it doesn't show the username and picture when window xp ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: no menus or elements gallery in word?
    ... If the problem disappears, it is probably due to some conflict with the login items/utilities in your user account. ... Yes, There's nothing in the document window, apart from the title, ruler & standard Mac red, amber & red window buttons. ... The only menus at the top of the screen are Word (Prefs, Services, Hide, etc & Quit, but Prefs doesn't work) plus the Applescript Automator Menu. ...
    (microsoft.public.mac.office.word)
  • Re: Scheduled Tasks Dont Work ??!!!
    ... I'm using my own account and I am entering a password. ... You must use the credentials of a user account that has a password to run a ... MS-MVP Windows XP/ Windows Smart Display ... > creating a new Scheduled Task by using the "Scheduled Tasks" System Tool ...
    (microsoft.public.windowsxp.security_admin)