Jump to content

Recommended Posts

Posted (edited)

I have the following script based on the example in the manual:

$search = FileFindFirstFile("C:\WINDOWS\Temporary Internet Files\*.*")

; Check if the search was successful

If $search = -1 Then

MsgBox(0, "Error", "No files/directories matched the search pattern")

Exit

EndIf

While 1

$file = FileFindNextFile($search)

MsgBox(4096, "File:", $file)

WEnd

; Close the search handle

FileClose($search)

I am searching through the internet temp / cache directory, but I don't get all the files - I only get the regular files but not the cached files.

Bug?

Edited by zzen11
Posted

That is normal cause you got only the files in the "Temporary Internet Files"-folder.

FindFileNextFile don't search automatically in a subfolder.

You have to explicitely call it with the subfolder.

Please search through the forums-search-engine to "+filefindnextfile +folder" or something similar :idiot:

Posted (edited)

That is normal cause you got only the files in the "Temporary Internet Files"-folder.

FindFileNextFile don't search automatically in a subfolder.

You have to explicitely call it with the subfolder.

Please search through the forums-search-engine to "+filefindnextfile +folder" or something similar :idiot:

<{POST_SNAPBACK}>

Well, there are several hundred files under "Temporary Internet Files" itself (not in the sub folders), when I ran the script, it shows up only the ".", "..", and a couple of other files. Edited by zzen11
Posted

There are no files in C:\WINDOWS\Temporary Internet Files\, but there is a folder Content.IE5.

To prove it, type in C:\WINDOWS\Temporary Internet Files\Content.IE5 in the address bar and you will understand what we both mean.

Who else would I be?
Posted

Well, there are several hundred files under "Temporary Internet Files" itself (not in the sub folders), when I ran the script, it shows up only the ".", "..", and a couple of other files.

<{POST_SNAPBACK}>

OK. I see. Thanks!!!!
Posted

There are no files in C:\WINDOWS\Temporary Internet Files\, but there is a folder Content.IE5.

To prove it, type in C:\WINDOWS\Temporary Internet Files\Content.IE5 in the address bar and you will understand what we both mean.

<{POST_SNAPBACK}>

XP and 2000 are different locations though ... Mine is located under C:\Documents and Settings\UserName\Local Settings\Temporary Internet Files\Content.IE5

We have enough youth. How about a fountain of SMART?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...