'Delete Compress Old Files, XP
On Error Resume Next

Dim WshShell, sMsg, sInput, sDone, sCancel

sMsg = "This script will fix Delete compress old files." & vbCr & vbCr _
 & "This action will DELETE a Registry Key." & vbCr & vbCr _
 & "Adding information can unintentionally change or delete values and cause components to stop working correctly." _
 & "  If you do not trust the source of this information, do not add it to the registry."  & vbCr  & vbCr _
 & "Would you like to continue?"

sInput = MsgBox(sMsg, vbYesNo + vbInformation, "Paul's XP and Vista Tweaks")
If sInput = vbYes Then 

Set WshShell = CreateObject( "WScript.Shell" )
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\CurrentVersion\Explorer\VolumeCaches\Temporary Files\LastAccess", 0, "REG_DWORD"
WshShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Compress old files\"

sDone = "The registry key has been Deleted!" & vbCr & vbCr  _
 & "This script was downloaded from www.paulsxp.com."
MsgBox sDone, 64, "Paul's XP and Vista Tweaks"

Else 
sCancel = "Action was Canceled"  & vbCr & vbCr _
& "This script was downloaded from www.paulsxp.com."
MsgBox sCancel, 48, "Nothing Done" 
End If
