Comment 1 for bug 167364

Revision history for this message
Nervesmiffs (nervesmiffs) wrote :

Even without Forest's reproduce step #1, "Inkscape
0.43+devel, built Mar 15 2006" defaults to the wrong
directory on WinXP SP2. "\Documents and Settings\username"
is NOT the correct default path for user documents on
NT-based Windows systems (e.g. Win2k and WinXP). Usually,
the correct path is "\Documents and Settings\username\My
Documents", but Windows admins have the right to change this
default (and Windows applications should allow for this
reality).

The correct way for an app to discover a user's personal
document directory is to pass CSIDL_PERSONAL to the
SHGetFolderPath() API, documented here:
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/shgetfolderpath.asp