Angus Leeming wrote:
> However, os::homepath() is used in lots of places, eg to initialise the
> above when all else fails. What you're saying is that 'document_path' on
> Windows should be initialised to '$USERPROFILE/My documents' rather than
> to '$USERPROFILE' on Windows boxes. Assuming that that 'My documents'
> directory exists of course.

Environment.GetFolderPath(Environment.SpecialFolder.Personal); 
 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemenvironmentspecialfolderclasstopic.asp

Jürgen

Reply via email to