Jump to content

Recommended Posts

Posted

This is more tricky than I thought it would be. I have been searching for some time now and can't seem to find an answer.
To find the IE history manually I go to "C:UsersuserAppDataLocalMicrosoftWindowsHistory" and from there I select the subfolder(Today, Yesterday etc...) and check the files in it.

So following this logic I came up with this which should normally work but it doesn't.

#include <File.au3>
#include <Array.au3>
Local $File = RegRead ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "History" )
;ConsoleWrite($File & @LF)
Local $hSearch = _FileListToArray($File, Default, Default, True)
_ArrayDisplay($hSearch)

It returns some other files besides the Today, Yesterday folders.
I assume this happens because they are not actually folders however since FileListToArray second parameter is set to default, which means all files if I understand correctly, then it should also return the paths of theToday folder.

Anyone any ideas on this?

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
×
×
  • Create New...