Where is Windows Installed?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This thread is just for information purpose.

In your opinion, what is the fastest way to know "On which drive my Windows
is installed - Any version".

Let me know your comments.
--
Tip of The Day
=========
Add SHOW / HIDE Recycle Bin option in "Folder Options". Learn how to at:

http://www.mindurbrain.zippyfreehost.com/
 
In
RajKohli said:
This thread is just for information purpose.

In your opinion, what is the fastest way to know "On which drive my
Windows is installed - Any version".

Let me know your comments.


cd %windir%
 
RajKohli said:
This thread is just for information purpose.

In your opinion, what is the fastest way to know "On which drive my
Windows
is installed - Any version".


Check the environment variable %windir% and see what drive is at the root of
that folder.
 
Replied to [RajKohli]s message :
This thread is just for information purpose.

In your opinion, what is the fastest way to know "On which drive my Windows
is installed - Any version".

Let me know your comments.

I am not sure but i think "\" takes you there ...

→ Ayush [ Good :-) Luck ]
 
RajKohli said:
So, I was asking for a single command for every version. Is there any?
--
Tip of The Day
=========
Add SHOW / HIDE Recycle Bin option in "Folder Options". Learn how to at:

http://www.mindurbrain.zippyfreehost.com/


Ayush" <"ayushmaan.j[aatt]gmail.com said:
Replied to [RajKohli]s message :
This thread is just for information purpose.

In your opinion, what is the fastest way to know "On which drive my Windows
is installed - Any version".

Let me know your comments.

I am not sure but i think "\" takes you there ...

→ Ayush [ Good :-) Luck ]


Type "set w" at the command prompt...
 
On Tue, 26 Dec 2006 07:19:01 -0800, in microsoft.public.windowsxp.general
This was good one. What about other version of Windows like Windows 95/98?
Will this %windir% will work?

Let me know you views.


I can tell you that %windir% is good for Win98 SE.

Type "echo %windir%" at the command prompt, or just type "set" to see all
variables (less than a screen's worth), in which case it will be the last
one.

jim
 
Steve said:
In


cd %windir%


You don't even need the CD. Just going to Start Run (or Winkey-R) and
entering %windir% will open an explorer window with the folder Windows is
installed in.
 
Ayush" <"ayushmaan.j[aatt]gmail.com said:
Replied to [RajKohli]s message :
This thread is just for information purpose.

In your opinion, what is the fastest way to know "On which drive my
Windows is installed - Any version".

Let me know your comments.

I am not sure but i think "\" takes you there ...


Nope, that's not a legal command. Perhaps you mean CD \, but that just
takes you to the root folder of whatever drive you are in, and doesn't say
anything about where %windir% is.
 
RajKohli said:
This was good one. What about other version of Windows like Windows 95/98?
Will this %windir% will work?


%windir% works with Windows 95/98. In fact it would get set in Windows 3.*
as well so you can use it for any version of Windows since at least 3.0.
 
Steve said:
In



cd %windir%
cd %windir% doesn't work unless you're already at the prompt for the
drive that contains Windows. echo %windi% does work no matter which
drive you start from.

Bill
 
Replied to [Bill Sharpe]s message :
cd %windir% doesn't work unless you're already at the prompt for the
drive that contains Windows.

cd /d %windir% will work fine...
echo %windi% does work no matter which
drive you start from.

I think you mean %windir%
 
AJR said:
Correct designation is %system%.


??? There is no %system% variable by default in Windows. There is
%systemdrive% and %systemroot%, maybe you were thinking of one of those ???
 
Back
Top