Re: Command to identify Windows boot directory
- From: "Wesley Vogel" <123WVogel955@xxxxxxxxxxx>
- Date: Tue, 27 Feb 2007 11:16:05 -0700
%systemroot% is an environment variable that is the location of the Windows
root folder.
Typing or pasting %systemroot% into the Start | Run box opens to the Windows
folder on whatever drive it is located. I.e. C:\WINDOWS or C:\WINNT.
systemroot definition from C:\WINDOWS\Help\glossary.chm
[[The path and folder name where the Windows system files are located.
Typically, this is C:\Windows, although you can designate a different drive
or folder when you install Windows. You can use the value %SYSTEMDRIVE% to
replace the actual location of the folder that contains the Window system
files. To identify your systemroot folder, click Start, click Run, type
%systemroot% and then click OK.]]
%windir% is an environment variable that is the location of the system
folder.
Typing or pasting %windir% into the Start | Run box opens to the Windows
folder on whatever drive it is located. I.e. C:\WINDOWS or C:\WINNT.
Windows XP can be installed in either WINDOWS or WINNT.
If %systemroot% and %windir% are the same, then obviously %windir% is easier
to type.
For a table of environment variables...
Paste the following line into Start | Run and click OK...
hh ntcmds.chm::/ntcmds_shelloverview.htm
Then scroll down to:
The following table lists the system and local environment variables for
Windows XP.
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:B77E0806-7941-4D02-8D0C-C79FF76D57EF@xxxxxxxxxxxxx,
John Williams <JohnWilliams@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
I cannot remember...what is the command to type to identify which Windows
installation you are booting from?
It's something like %windows...etc.
Thanks!
.
- Prev by Date: Re: function keys...how to assign ???
- Next by Date: Re: Windows is corrupted
- Previous by thread: Re: Command to identify Windows boot directory
- Next by thread: Error when systemdrive letter is changed
- Index(es):
Relevant Pages
|
Loading