CDCache Utility for Internet Explorer 4.x

ID: Q199849


The information in this article applies to:


SUMMARY

The Cache Container Tool (Cdcache.exe) is an AutoRun executable file that allows content outside of the cache to be associated with a specified URL, which can be referenced by Microsoft Internet Explorer 4.0. This tool allows you to assign a URL that will reference content from another directory or CD-ROM.

This tool originally shipped with the Internet Client SDK for Internet Explorer 4.0. Because Cdcache.exe is not supported for use with Internet Explorer 5 and future versions, this tool is no longer available in any public SDKs. It is provided in the Microsoft Software Library only for legacy use with Internet Explorer 4.0 and 4.01.

NOTE: In addition to not working with Internet Explorer 5, Cdcache.exe does not work with Internet Explorer 4 on Windows 9x systems configured to use personal settings for each user.


MORE INFORMATION

The following files are available for download from the Microsoft Software Library:

cdcache.exe
Cdcachea.exe

Release Date: Sept-10-1997

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
The Cdcache.exe download file contains the x86 build of the Cdcache.exe utility. The Cdcachea.exe download file contains the Alpha build of the Cdcache.exe utility.

   FileName               Size
   ---------------------------------------------------------
   Cdcache.exe            39,712 bytes (x86)  / 72,464 bytes (alpha)
   Cdcache.htm            7,508 bytes 

The tool creates a cache container in the Internet Explorer persistent URL cache. When a user enters the URL, the browser looks for the resource in the location specified by the cache container.

If an earlier version of Internet Explorer is installed on the computer, a message appears, notifying the user that Internet Explorer 4.0 is required, unless the /NoIE4Msg or /Silent command-line option is used.

Usage

Use the following steps to install a cache container that references a CD-ROM.
  1. Create an Autorun.inf file.


  2. In the Autorun.inf file, enter the following text:
    
    [autorun]
    open=cdcache.exe
    icon=cdcache.exe,1 
    If you want to use one of the Command-Line Options, add it to the open= line in the Autorun.inf file. The following example would install the cache container without displaying any user interface.
    
    [autorun]
    open=cdcache.exe /Silent
    icon=cdcache.exe,1 


  3. In the Autorun.inf file, add one or more entries to create a cache container. This section must contain less than 64K of data. It must be in the following format:
    
    [Add.CacheContainer]
    <Friendly Name>=<INF Section Name> 
    The friendly name can be either the name of the company or the name of the product for which the cache container is being created. INF Section Name is the label you will use in the .inf file to define the details of your cache container.

    The following example shows an entry for two cache containers: one for Awesome Computers and one for Trey Research.
    
    [Add.CacheContainer]
    Awesome Computers=AwesomeComp
    Trey Research=TreyResearch 


  4. In the Autorun.inf file, add a cache container detail section for each cache container defined in the previous step. It must be in the following format:
    
    [INF Section Name]
    CachePrefix=<string>
    CacheRoot=<relative path to the data>
    KBCacheLimit=<numerical amount in KB>
    AutoDelete=<Yes|No>
    IncludeSubDirs=<Yes|No>
    VolumeTitle=<string> 
    The following example shows entries for two cache container detail sections.
    
    [AwesomeComp]
    CachePrefix=http://www.awesome_computers.com
    CacheRoot=%EXE_DRIVE%\data\http\ 
    KBCacheLimit=1000
    AutoDelete=Yes
    IncludeSubDirs=Yes
    VolumeTitle=Anything
    
    [TreyResearch]
    CachePrefix=http://www.trey_research.com/awards
    CacheRoot=%EXE_DRIVE%\data\http\awards\ 
    KBCacheLimit=500
    AutoDelete=Yes
    IncludeSubDirs=Yes
    VolumeTitle=TreyResearch 


  5. Place the Autorun.inf file at the root directory of the CD-ROM, which contains the content you want to register.


Command-Line Options

The Cdcache.exe tool supports the following command-line options:

Additional query words:


Keywords          : kbnokeyword kbSDKInet400 kbSDKInet401 kbGrpInet 
Version           : WINDOWS:4.0,4.01
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: May 8, 1999