Subscribe to Windows IT Pro
July 10, 2003 12:00 AM

How can I clear the temporary Internet files in Microsoft Internet Explorer (IE)?

Windows IT Pro
InstantDoc ID #39512
Rating: (5)

A. When you visit a Web page, IE caches the page contents to disk so that the next time you visit the page, IE can read certain elements (e.g., images) from the local disk instead of having to download them again. This functionality also lets you view pages you've looked at before, even if you're not connected to the Web.

IE stores the files in the \%userprofile%\Local Settings\Temporary Internet Files folder (e.g., C:\Documents and Settings\john\Local Settings\Temporary Internet Files). Although you can delete the content directly, which also removes all your cookies, the Microsoft-supported method is as follows:

  1. Go to Control Panel, then open the Internet Options applet (or open IE, then select Internet Options from the Tools menu).
  2. Under the "Temporary Internet files" section on the General tab, click Delete Files. You can also select the "Delete all offline content" check box on the Delete Files dialog box to delete offline files.
  3. Click OK to return to the main dialog box.

If you haven't previously deleted the temporary files, the delete process might be time consuming because it might need to delete thousands of small files.

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Aug 05, 2005

    I think you mean objFSO.DeleteFolder right?

  • Anonymous User
    7 years ago
    Aug 05, 2005

    I think you mean objFSO.DeleteFolder right?

  • Anonymous User
    7 years ago
    Apr 06, 2005

    It becomes useful when you change "DeleteFile" to "Delete" instead, and then it will remove subdirectories also.

  • Anonymous User
    7 years ago
    Mar 24, 2005

    The link above to the "Scripting Guys" has one little problem. It deletes files but not sub-folders, so it is basically useless.

  • Anonymous User
    7 years ago
    Mar 17, 2005

    Take a look at this Microsoft page:
    http://www.microsoft.com/technet/scriptcenter/resources/qanda/nov04/hey1102.mspx

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.