Does anyone know of a way to use one REG_SZ value for both kernel and user
mode file access? Kernel mode wants “\systemroot\mypath” and user mode
wants %systemroot%\mypath but I’d like to just have one registry setting to
the one path that I can use in either mode.
Or, is there some way to open files directly in user mode using the internal
path name “\systemroot\mypath”?
Why not just make it relative to systemroot, e.g., “mypath”? Then each uses
the appropriate prefix.
Ken
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Hahn
Sent: Monday, May 09, 2005 8:21 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] %systemroot% and \systemroot\ in one registry value?
Does anyone know of a way to use one REG_SZ value for both kernel and user
mode file access? Kernel mode wants “\systemroot\mypath” and user mode
wants %systemroot%\mypath but I’d like to just have one registry setting to
the one path that I can use in either mode.
Or, is there some way to open files directly in user mode using the internal
path name “\systemroot\mypath”?
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
I wanted to allow any path, including ones with no special folder.
“Ken Cross” wrote in message news:xxxxx@ntfsd…
> Why not just make it relative to systemroot, e.g., “mypath”? Then each
> uses
> the appropriate prefix.
>
> Ken
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Mark Hahn
> Sent: Monday, May 09, 2005 8:21 PM
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] %systemroot% and \systemroot\ in one registry value?
>
> Does anyone know of a way to use one REG_SZ value for both kernel and user
> mode file access? Kernel mode wants “\systemroot\mypath” and user mode
> wants %systemroot%\mypath but I’d like to just have one registry setting
> to
> the one path that I can use in either mode.
>
> Or, is there some way to open files directly in user mode using the
> internal
>
> path name “\systemroot\mypath”?
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@comcast.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>