Microsoft KB Archive/305792

= How to Determine Which Folder Windows Is Installed In =

Article ID: 305792

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 95
 * Microsoft Windows 98 Standard Edition
 * 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.



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 &quot;Windir=&quot;. 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 &quot;Windir=&quot;. 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 &quot;Windir=&quot;. 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 &quot;Windir=&quot; entry. This entry lists the folder in which Windows is installed.

Keywords: kbenv kbhowto KB305792

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.