How to find Windows XP boot directory

DarkCyber

[H]ard|Gawd
Joined
May 14, 2003
Messages
1,273
Ok, I cannot think of this for nothing. What is the command that will tell you which (or where) Windows XP your booting from? It's something like %windows...etc. But just can't find it anywhere.

Thanks!
 

duby229

2[H]4U
Joined
May 1, 2005
Messages
3,014
Can you rephrase the question? I'm not what your asking here?\

Generally windows boots straight from the c: partition... Are you asking where the windows folder is?
 

DarkCyber

[H]ard|Gawd
Joined
May 14, 2003
Messages
1,273
Can you rephrase the question? I'm not what your asking here?\

Generally windows boots straight from the c: partition... Are you asking where the windows folder is?

The is a DOS command that you can type in the command prompt that will tell you exactly where and which Windows installation that your pc is booting from and using. i.e. if you, for some reason, had two hard drives and had Windows XP installed on both and you didn't know for sure which one you were booting from, this command would identify and tell you.

I use to know it, but can't remember the command. It's something like %windowsroot% something like that.
 

Phoenix86

Supreme [H]ardness
Joined
Mar 28, 2002
Messages
6,653
The cheesy way would be to run "set" from the cmd prompt.

The "official" way would be to look at the boot.ini
 

DarkCyber

[H]ard|Gawd
Joined
May 14, 2003
Messages
1,273
Well, actually what I was looking for was either of these:

%windir%
%systemroot%

Thanks for the suggestion!
 
Top