windows. The purpose of the Environment class is that it abstracts this from
"David Thielen" <thielen@nospam.nospam> wrote in message
news:625F7CFD-EBEF-46D2-8D1D-309265916134@microsoft.com...
> Thank you. I can pass multiple directories so I think I'll use both
> methods
> and if they differ, pass both.
>
> --
> thanks - dave
> david_at_windward_dot_net
>
http://www.windwardreports.com >
>
>
> "Greg Young" wrote:
>
>> I would personally recommend using the environment class for this.
>>
>>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemenvironmentclasstopic.asp
>>
>> Cheers,
>>
>> Greg Young
>> "Jesse Houwing" <jesse.houwing@------.nl> wrote in message
>> news:%230jWtRAkGHA.2004@TK2MSFTNGP04.phx.gbl...
>> > David Thielen wrote:
>> >> Hi;
>> >>
>> >> What's the managed code way to get GetWindowsDirectory()?
>> >>
>> >> And if I want the fonts directory, is it safe to always just add
>> >> "\fonts"
>> >> to it?
>> >>
>> > You should be able to get the fonts directory location from the
>> > following
>> > registry location:
>> >
>> > [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
>> > Folders]
>> > "Fonts"="C:\\WINDOWS\\Fonts"
>> >
>> >
>> > Jesse Houwing
>>
>>
>>