The information in this article applies to:
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. SYMPTOMS
If you try to access a batch file held on a WWW server using Internet
Explorer 3.0 running on Windows for Workgroups 3.11 and previous releases
or Windows NT 3.51, the file is displayed as plain text.
CAUSE
By default, any file sent by the WWW server on Internet Information Server
that has an unrecognized MIME type is returned to the client as a blank
MIME type.
RESOLUTION
To resolve this problem, you must make changes to both the server and the
client. The server modification is to create a MIME type for the .bat
extension. The client modification is to register the appropriate action
for this MIME type. Both of these changes are detailed below.
Internet Information ServerUnder Internet Information Server, add the MIME entry using the Registry Editor.WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.
Internet Explorer 3.0Internet Explorer 3.0 clients must have the new MIME type defined as detailed below:
Q142558 : Adding Mime Types to Internet Information Server Additional query words: ie3 ie2 batch bat
Keywords : |
Last Reviewed: May 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |