November 15, 2023 at 8:34 pm
Ansys Employee
Hi Guohao,
This message is the result of your 'my documents' folder location.
For windows we are using the windows call
HRESULT hr = ::SHGetFolderPath(NULL,
CSIDL_PERSONAL | CSIDL_FLAG_CREATE,
NULL,
SHGFP_TYPE_CURRENT,
buffer);
to get the system path, and if that fails using the same call with SHGFP_TYPE_DEFAULT instead of SHGFP_TYPE_CURRENT.
This should mean the value we are using are stored in the registry under one of the two places.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Personal
The best way to change the values is to go to:
Start -> Your Name (aka open your own personal folder)
Right Click "My Documents" -> Properties -> Location
ref: ANSYS KB 2039429
ref: ANSYS KB 2039429