Cannot View HTML Source Code for Web Pages in Internet Explorer

Last reviewed: January 23, 1998
Article ID: Q179829
The information in this article applies to:
  • Microsoft Internet Explorer versions 4.0, 4.01 for Windows NT 4.0

SYMPTOMS

When you attempt to view the Hypertext Markup Language (HTML) source code for a Web page in Internet Explorer, the HTML source code may not be displayed, and you may not receive an error message.

CAUSE

This behavior can occur when the path specified for the TMP environment variable is invalid.

RESOLUTION

To resolve this issue, specify a valid path for the TMP environment variable. To do so, follow these steps:

  1. Click Start, point to Settings, click Control Panel, and then double- click System.

  2. Click the Environment Tab.

  3. In the User Variables For <username> box, click TMP, type a valid path in the Value box, and then click Set.

  4. Click Ok.

MORE INFORMATION

When you view the HTML source code of a Web page in Internet Explorer, the file that contains the source code is copied from the Temporary Internet Files folder to the folder specified by the TMP environment variable. The file in the temporary folder is then opened in Notepad.

If the folder specified by the TMP environment variable is invalid, the file cannot be copied to the temporary folder, and therefore cannot be displayed.


Additional query words: 4.00
Keywords : kbenv msient
Version : WINDOWS:4.0,4.01
Platform : WINDOWS
Issue type : kbprb


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: January 23, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.