|
-
Dec 9th, 2001, 07:15 PM
#1
Thread Starter
PowerPoster
Scan for .tmp
I am trying to scan my hard drive for temp files so that I can delete them, but I can't figure out how to do a recursive search across the whole hard drive. I tried using the exampe at www.vb-world.net that uses the API, but when I passed *.tmp instead of *.*, it just added the drive letter to the directory instead of the files on the hard drive. I tried it with numerous extensions, but the only thing that works is *.*. Anybody done somthing similar to this?
Thanks
-Joey
-
Dec 9th, 2001, 07:18 PM
#2
-
Dec 9th, 2001, 07:22 PM
#3
Thread Starter
PowerPoster
-
Dec 9th, 2001, 07:36 PM
#4
-
Dec 9th, 2001, 08:06 PM
#5
Thread Starter
PowerPoster
Did you change it from *.* to *.tmp? That is what I did, and it didn't do anything.
-
Dec 9th, 2001, 08:08 PM
#6
-
Dec 9th, 2001, 11:37 PM
#7
Thread Starter
PowerPoster
Originally posted by Mc Brain
Yes... but I didn't change anything in the code, just in the Textbox.
What textbox? This is what I see:
-
Dec 9th, 2001, 11:47 PM
#8
-
Dec 9th, 2001, 11:53 PM
#9
Thread Starter
PowerPoster
Oh I see what you did. That code doesn't search the whole hard drive. It only searches the direct path that you type in text2. I need to search the whole hard drive. Right now, I am just doing a search with FSO and going two directories deep, but I would like to search every single directory. Thanks for trying though.
-
Dec 9th, 2001, 11:56 PM
#10
Registered User
-
Dec 10th, 2001, 12:29 AM
#11
Thread Starter
PowerPoster
Thanks Nucleus, I'll check that out right now.
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
|