PC Review


Reply
Thread Tools Rate Thread

Where is %systemdrive% defined?

 
 
Ray at
Guest
Posts: n/a
 
      4th Nov 2003
Hi group,

There was a thread about this back on 10/22, but the OP didn't follow up
until today, so it may have been lost. I've been wondering this same thing,
and that is that if I look in the registry, I can see where some environment
variables are stored (HKLM\system\current.\control\Session
Manager\Environment. But, some vars, such as %systemdrive% are not stored
there and do not seem to be stored anywhere in the registry. So, my guess
is that these vars are loaded defined and loaded into memory each time the
OS loads. I know ~what~ %systemdrive% is, but I'd just like to verify that
this variable is NOT hard-defined somewhere and is just something that's
loaded into memory.

The main reason for this is that if I want to get the %systemdrive% off of a
remote computer, what hard-defined var can I get it from 100% of the time,
not 99.999%?

Thanks,

Ray at work


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
%SystemDrive% John R Windows XP Basics 4 6th Mar 2007 03:08 AM
%systemdrive% =?Utf-8?B?ZGh1Z2hlcyhwbGVhc2UgcmVtb3ZlKUBzYWkuc3Rh Windows XP General 0 12th Oct 2006 04:15 PM
%SystemDrive% Greg Matthews Windows XP General 7 26th Feb 2006 05:16 AM
Where is %systemdrive% defined? Ray at Microsoft Windows 2000 Registry 2 4th Nov 2003 04:32 PM
Where is %systemdrive% defined? Ray at Microsoft Windows 2000 Registry Archive 4 4th Nov 2003 04:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:09 AM.