Associating Interpreters with Applications (Script Mapping)

Last reviewed: April 22, 1997
Article ID: Q147856

The information in this article applies to:

 Microsoft Internet Information Server version 1.0

SUMMARY

The Microsoft Internet Information Server supports file name mapping. It maps file name extensions to the proper program so that it can run files with those extensions. Some extensions are pre-installed and others are manually added.

MORE INFORMATION

File names with the extensions of .bat, .cmd and .idc are pre-installed. Other extensions must be added in the following manner:

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

  1. Start Registry Editor (REGEDT32.EXE) and locate the following Registry subkey in the HKEY_LOCAL_MACHINE subtree:

    \SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\Script Map

  2. From the Edit menu, select Add Value.

  3. Enter the following:

          Value Name: <Extension>
          Data Type:  REG_SZ
    
          String:     <Full path and File name>?
    
       NOTE: Make sure you add the "?" (without quotes) at the end of the URL,
       so that the Web browser does not attempt to download the script file.
       For additional information regarding the ?, please see the following
       article in the Microsoft Knowledge Base:
    
          ARTICLE-ID: Q147708
          TITLE     : IIS Scripts Request To Save the File Instead of Executing
    
    

  4. Click OK and quit the Registry Editor.

  5. Shut down and restart Windows NT.


Additional query words: prodiis
Keywords : iisscript kbnetwork
Version : 1.0
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.