How to Determine Which Folder Windows Is Installed In (305792)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 95
  • Microsoft Windows 98
  • Microsoft Windows 98 Second Edition
  • Microsoft Windows Millennium Edition

This article was previously published under Q305792

SUMMARY

This article describes how to determine which folder Windows is installed in.

MORE INFORMATION

Windows 95/Windows 98/Windows Millennium Edition

If you are using Windows 95, Windows 98, Windows 98 Second Edition, or Windows Millennium Edition (Me), use any of the following methods.

Method 1

  1. Click Start, click Programs, and then click MS-DOS Prompt.
  2. Type cd %windir%, and then press ENTER.
  3. Note the current folder. This is the folder in which Windows is installed.
  4. Type exit and then press ENTER to close the command prompt window.

Method 2

  1. Click Start, and then click Run.
  2. In the Open box, type notepad c:\msdos.sys, and then click OK.
  3. Look for the line that begins with "Windir=". This line lists the folder in which Windows is installed.

Method 3

  1. Click Start, and then click Run.
  2. In the Open box, type command, and then click OK.
  3. Type set, and then press ENTER.
  4. Look for the line that begins with "Windir=". This line lists the folder in which Windows is installed.

Windows 2000

If you are using Windows 2000, use either of the following methods.

Method 1

  1. Click Start, and then click Run.
  2. In the Open box, type cmd, and then click OK.
  3. Type set, and then press ENTER.
  4. Look for the line that begins with "Windir=". This line lists the folder in which Windows is installed.

Method 2

  1. Click Start, click Settings, and then click Control Panel.
  2. Double-click System.
  3. Click the Advanced tab.
  4. Click Environment Variables.
  5. In the System Variables section, note the "Windir=" entry. This entry lists the folder in which Windows is installed.

Modification Type:MinorLast Reviewed:12/20/2004
Keywords:kbenv kbhowto KB305792