and navigating to my Documents folder on my C:, showed this dialogue:
It should have been c:\Users\gvane\Documents. It exist with some files and sub-directories.
The above directory does not exist.
The directory value (c:\Users\gvane\Documents) is what
SHGetFolderPath (CSIDL_PERSONAL, SHGFP_TYPE_DEFAULT) returns here.
And it'sthe same as %USERPROFILE%\Documents.
I just discovered NW.JS and this sample-repo. Trying it on
file-explorer
:and navigating to my
Documents
folder on myC:
, showed this dialogue:It should have been
c:\Users\gvane\Documents
. It exist with some files and sub-directories. The above directory does not exist.The directory value (
c:\Users\gvane\Documents
) is whatSHGetFolderPath (CSIDL_PERSONAL, SHGFP_TYPE_DEFAULT)
returns here. And it'sthe same as%USERPROFILE%\Documents
.I'm on Win-10. Version-stuff from
nw.exe
: