Just use \SystemRoot\something as a pathname.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From:
To: “Windows File Systems Devs Interest List”
Sent: Monday, April 04, 2005 10:48 AM
Subject: [ntfsd] ´ð¸´: Re: [ntfsd] How to get Windows 2000 and later system
root directory ?
>
> Thanks for you reply for my question. Your means is that i can use “
> SystemRoot” to access system root directory directly?
> The “SystemRoot” is system environment variant whether or not convert it by
> use some routine (e.g GetEnvironmentVariable Win32 API )??
>
> Best Regards
>
> Ken Wang
>
>
>
>
> “Maxim S. Shatskih”
> Systems Devs Interest List"
> >
> ·¢¼þÈË£º ³ËÍ£º
> xxxxx@lis Ö÷Ì⣺ Re: [ntfsd] How to
get Windows 2000 and later system root
> ts.osr.com directory ?
>
>
> 2005-04-04 14:28
> Çë´ð¸´ ¸ø “Windows File
> Systems Devs Interest
> List”
>
>
>
>
>
> You cannot access any filesystems at this moment, so, forget about
> this.
>
> Later, for instance, at System drives init, you can use
> \SystemRoot\something pathnames to access the files, the exact directory
> name
> is not needed for you.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From:
> To: “Windows File Systems Devs Interest List”
> Cc:
> Sent: Monday, April 04, 2005 9:31 AM
> Subject: [ntfsd] How to get Windows 2000 and later system root directory ?
>
>
> > Hi,
> >
> > How to get system root directory (e.g C:\WINNT) during ntldr loading the
> > boot drivers.
> >
> > Thanks & Regards
> >
> > Ken Wang
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@lenovo.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to $subst(‘List.Name’) as:
$subst(‘Recip.EmailAddr’)
> To unsubscribe send a blank email to $subst(‘Email.UnSub’)