http://www.perlmonks.org?node_id=145814


in reply to Deleting Microsoft's hidden web caches created by IE5

Ah, yes, valid point. And as crazyinsomniac points out - don't try to run this in Windows - boot to DOS first! (f8 at boot, I think :)

cLive ;-)

-- seek(JOB,$$LA,0);

  • Comment on (cLive ;-) Re: Deleting Microsoft's hidden web caches created by IE5

Replies are listed 'Best First'.
Tweaks for win2000
by alehavi (Initiate) on Oct 12, 2004 at 19:53 UTC
    first, you must direct the File::find to your current dir (or it will treat the target "Local setting" directory as if it is on c: root find(\&wanted, "c:\/Documents and Settings\/YourUser\/Local Settings"); second - perl cant unlink the file (locked -> permission denied"). i use overwrite, which also takes care of the undelete problem: use File::Copy; copy('c:\empty.txt',$_)||$!;