Results 1 to 6 of 6

Thread: Recurse Folder [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253

    Recurse Folder [RESOLVED]

    Can you help me with a problem solver in Delphi please

    Im trying to delete files from a folder (in my case the IE temp files). I know how to delete all files from a FileListbox, but how do you do it without this? I can use:

    Code:
    procedure TForm1.Button1Click(Sender: TObject);
    var
      i: Integer;
    begin
      for i:=0 to FileListBox1.Items.Count-1 do
        DeleteFile(FileListBox1.Items[i]);
      FileListBox1.Update;
    end;
    But thats not what i want, i just want to clean the IE temp crap

    Thanks
    Last edited by Madboy; May 26th, 2005 at 05:33 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width