Results 1 to 4 of 4

Thread: Remove the hidden attribute on Temporary Internet Files

  1. #1
    Join Date
    Aug 2009
    Posts
    53

    Remove the hidden attribute on Temporary Internet Files

    I have Windows XP on my computer. I would like to withdraw the "hidden" attribute in the Temporary Internet Files folder. In the BDR, I have checked nohidden and SHOWALL. I have the default 2, 2 and 1, 2 for keys CheckedValue and DefaultValue. But apparently that is not enough. Somebody know how it can be done?

  2. #2
    Join Date
    Apr 2008
    Posts
    2,572

    Re: Remove the hidden attribute on Temporary Internet Files

    It is the Local Settings folder (which is located in the Temporary Internet Files) is hidden, Temporary Internet Files is visible and making a property, the "hidden" is grayed impossible to check.

  3. #3
    Join Date
    Aug 2009
    Posts
    53

    Re: Remove the hidden attribute on Temporary Internet Files

    My Local Settings are not hidden, only Temporary Internet Files remains invisible. I accessed through the Internet Options. The "hidden" is grayed impossible to check. Or rather to shoot.

  4. #4
    Join Date
    May 2008
    Posts
    2,134

    Re: Remove the hidden attribute on Temporary Internet Files

    To enable/disable show hidden files/folders save the below code as .vbs file on your hard drive and then double click on it to run.

    Code:
    Message = "To work correctly, the script will close" & vbCR
    Message = Message & "and restart the Windows Explorer shell." & vbCR
    Message = Message & "This will not harm your system." & vbCR & vbCR
    Message = Message & "Continue?"
    
    X = MsgBox(Message, vbYesNo, "Notice")
    
    If X = 6 Then
    On Error Resume Next
    
    Dim WSHShell, n, p, itemtype, MyBox
    Set WSHShell = WScript.CreateObject("WScript.Shell")
    
    p = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden"
    
    itemtype = "REG_DWORD"
    
    n = WSHShell.RegRead (p)
    errnum = Err.Number
    
    if errnum <> 1 then
    
    	WSHShell.RegWrite p, 2, itemtype
    End If
    
    If n = 2 Then
       WshShell.RegWrite p, 1, itemtype
       MyBox = MsgBox("Show Hidden Files and Folders are now ENABLED", 64, "Hidden Files and Folders")
    End If
    
    If n = 1 Then 
       WshShell.Regwrite p, 2, itemtype
       MyBox = MsgBox("Show Hidden Files and Folders are now DISABLED", 64, "Hidden Files and Folders")
    End If
    
    Set WshShell = Nothing
    
    On Error GoTo 0
    
    For Each Process in GetObject("winmgmts:"). _
    	ExecQuery ("select * from Win32_Process where name='explorer.exe'")
       Process.terminate(0)
    Next
    
    MsgBox "Finished." & vbcr & vbcr , 4096, "Done"
    
    Else 
    
    MsgBox "No changes were made to your system." & vbcr & vbcr, 4096, "User Cancelled"
    
    End If

Similar Threads

  1. Replies: 7
    Last Post: 21-01-2012, 07:11 PM
  2. How to remove temporary program files
    By chaosblade in forum Operating Systems
    Replies: 3
    Last Post: 30-07-2009, 12:09 PM
  3. Replies: 22
    Last Post: 13-02-2008, 07:02 AM
  4. Remove read only attribute from files in a tree
    By adrin in forum Windows XP Support
    Replies: 2
    Last Post: 02-02-2008, 05:51 AM
  5. Hidden folders in temporary internet files folder
    By Drewski in forum Windows XP Support
    Replies: 5
    Last Post: 03-06-2006, 09:16 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,679,815.35907 seconds with 17 queries