Jump to content
Sign in to follow this  

Temp INET Folder Browse Fix

Recommended Posts


I put together this little script because I was tired of using workarounds to see the actual folders and files in my temporary internet files. Windows treats the folder special, you can still see the folders if you browse to it via a network share (\\hostname\c$\Documents and Settings\username\Local Settings\Temporary Internet Files\) or via a CMD prompt.

After some web searching I found out that this special handling was being brought about from the desktop.ini file in that dir. This script simply checks for the file and deletes it. The file gets recreated every time IE is run, and I believe at login; so the script stays running in the bg. Has an install option if the script is compiled.



Func _TempINETFolderBrowseFix()
    $desktopinifile = @UserProfileDir & "\Local Settings\Temporary Internet Files\desktop.ini"
    If Not FileExists($desktopinifile) Then
        Until FileExists($desktopinifile)

Func _InstallTempINETFolderBrowseFix()
    If @Compiled Then
        If Not RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Run",@ScriptName) Then
            If Msgbox(36,"Automatic Startup","Run at Login?") = 6 Then
                $destfile = @AppDataDir & "\Tools\" & @ScriptName
Edited by spudw2k

Share this post

Link to post
Share on other sites

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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.