Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Temps
#1
Hey, i know this deletes the temp files

Code:
Copy      Help
spe
int WINDOW=id(3 "Temp Cleaner")

Dir d
foreach(d "$temp$\*" FE_Dir 0x4)
,str sPath=d.FileName(1)
,sPath+"[]"
,SendMessage(WINDOW EM_SETSEL -2 -2)
,SendMessage(WINDOW EM_REPLACESEL 0 sPath)
,del- sPath; err
foreach(d "$temp$\*" FE_Dir 0x1)
,sPath=d.FileName(1)
,sPath+"[]"
,SendMessage(WINDOW EM_SETSEL -2 -2)
,SendMessage(WINDOW EM_REPLACESEL 0 sPath)
,del- sPath; err
SendMessage(WINDOW EM_SETSEL -2 -2)
SendMessage(WINDOW EM_REPLACESEL 0 "[]-DONE-")
but- id(4 "Temp Cleaner")

but it doesnt seem to delete temp internet files any idea how to do that?
#2
Can be used Disk Cleanup. It can be automated using QM. Search the forum.
#3
OK thanks Gint but i dont think thats gonna work, was wondering if there was a code like the one of above just to delete Temp Internet Files?
#4
That really works.

Don't know other code that deletes TIF correctly.
#5
try this
Code:
Copy      Help
Dir d
foreach(d "$Cache$\*" FE_Dir 0x2)
,str sPath=d.FileName(1)
,out sPath
,del- sPath
,err
,,continue
#6
Thanks kevin ill giv it a go!


Forum Jump:


Users browsing this thread: 1 Guest(s)