|
-
Aug 4th, 2002, 10:23 PM
#1
Thread Starter
Fanatic Member
How to Find *. Files and Delete them in any Folder?
Hi everybody!
Ok, it seems to be a hard one .....
I read 1561 threads before i posted this here.
Unfortunatly it seems that everybody knows always the path in which the files are located. I don't know it, because the users have different folders for themself.
I need to delete *.TMP Files and *.FIZ in any SubDirectory.
I don't know in which SubDir are these Files. I need to make it fast and that it doesn't go to the Recycle Bin.
I don't want that the user know that I delete the files and that he don't get disturbed with it while filling a form etc.
The Files should be deleted as fast as possible.
The PCs have usually not to many files on it, maybe 10.000 from this are maybe 200 that should be deleted.
Is there a way to exclude SubDirectories to be searched to make it faster?
I want that the program is as small as possible, that it doesn't need any extra file, only the exe-file itself. No MDAC or whatever.
When I played a little around I got the problem that whenever I started this operations that the Form didn't finish to show completly on the monitor. After the operations finished it showed it.
(If possible please show me an example code, hehe)
nice greetings
Franky
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|