I can't get Autoit to do the same thing:
$val1 = FileRecycleEmpty("C:\")
$val2 = FileDelete("C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files")
$val3 = FileDelete("C:\Documents and Settings\Administrator\Local Settings\Temp\*.*")
$val4 = FileDelete("c:\temp\*.*")
$val5 = DirRemove("c:\windows\temp\", 1) <- This removes everything INCLUDING the Temp folder
;$val5 = DirRemove("c:\windows\temp\*.*")
;Run(@ComSpec & " /k rd /s /q " & '"c:\windows\temp\"', "", @SW_HIDE) <- This removes everything INCLUDING the Temp folder
;$val5 = FileDelete("c:\windows\temp\*.*")<- This will remove what's in the Temp folder but not behond
$val6 = FileDelete("C:\Documents and Settings\Administrator\Cookies")
$val7 = FileDelete("C:\Documents and Settings\Administrator\Local Settings\History")
; Below is just Return Values to see what , if any was removed.
MsgBox(0, "File Return Values", _
"RECYCLE BIN:" & @TAB & @TAB &$val1 & @CR & _
"TEMPORY INTERNET FILES:" & @TAB & $val2 & @CR & _
"LOCAL SETTINGS\TEMP:" & @TAB & $val3 & @CR & _
"C:\TEMP\*.*:" & @TAB & @TAB & $val4 & @CR & _
"C:\WINDOWS\TEMP\*.*:" & @TAB & $val5 & @CR & _
"COOKIES:" & @TAB & @TAB & $val6)
============================
Edited by vim, 11 August 2006 - 10:04 PM.





