Clear Recent folder

  • Thread starter Thread starter Alice
  • Start date Start date
A

Alice

How can I clear the contents of the 'application
data\microsoft\office\recent' folder in a users profile
when they log off. We have problems with roaming profiles
exceeding the set limit and this folder seems to be a
culprit. I have looked in Group Policy, but nothing
actually says it clears the folder.

Windows 2000 AD domain.
Thanks.
 
How can I clear the contents of the 'application
data\microsoft\office\recent' folder in a users profile
when they log off. We have problems with roaming profiles
exceeding the set limit and this folder seems to be a
culprit. I have looked in Group Policy, but nothing
actually says it clears the folder.

Windows 2000 AD domain.
Thanks.
You could write a logoff script:

@echo off
setlocal
set recent="%userprofile%\application data\microsoft\office\recent\*.*"
if exist %recent% del /q %recent%
endlocal
exit /b 0

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Thanks!
-----Original Message-----

You could write a logoff script:

@echo off
setlocal
set recent="%userprofile%\application data\microsoft\office\recent\*.*"
if exist %recent% del /q %recent%
endlocal
exit /b 0

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
.
 
Back
Top