With Notes_cache=%Temp%\cache.ndk in the user's environment the cache.ndk will be created outside of the NotesData directory but in
C:\Document and Settings\[username]\Local Settings\Temp\cache.ndk
in this case %Temp% is defined as C:\Document and Settings\[username]\Local Settings\Temp
For fast visibility of the test let's use the notes parameter 'Cache': Insert into notes.ini: NOTES_cache=C:\Temp\cache-by-ini.ndk
open Explorer into the C:\Temp path
Launch Notes client Basic or Standard:
already at the password dialog box you can check whether the cache-by-ini.ndk had been created with this name.
You can close the notes client already here with ESC and EXIT
delete the cache file.
(to check only a single directory the TEMP OS variable could be set to C:\Temp , too)
Open Start\Settings\Control Panel\System tab Advanced, button Environment Variables
create either in section "User variables for <user>" or "System variables" an entry: Variable name: Notes_Cache Variable value: %Temp%\cache-by-OSenv.ndk
open Explorer and type into the Address field %Temp% and press ENTER
check whether the cache-by-OSenv.ndk had been created with this name. (perhaps F5 to refresh is required sometimes)
with 7.0.2 and 7.0.3 in Windows XP SP2 engl it works instantly.
in 8.0.1 and 8.0.2 in Windows XP SP2 engl it fails in Basic and Standard
Therefore this is a regression.
Reply from IRIS:
Our OSGetEnv apis were only meant to use system variables for debugging purposes; normally all variables are supposed to come from our notes.ini. The fact that it did go to the system environment was an undocumented and unsupported "feature" . We removed this in D8.0 such that we will now only do this if an environment variable is set. If you set DEBUG_USE_SYS_VAR=1 in your notes.ini then our OSGetEnv calls will also search the System environment however there is no guarantee that this will continue to be available.
Possible Variables would be: NOTES_Directory=%HOMEDRIVE%%HOMEPATH%\Local Settings\Application Data\Lotus\Notes\Data NOTES_SharedDataDirectory=%ALLUSERSPROFILE%\Application Data\Lotus\Notes\Data NOTES_Cache=%Temp%\Cache.ndk NOTES_View_Rebuild_Dir=%Temp% NOTES_Configfile=%ALLUSERSPROFILE%\Application Data\Lotus\Notes\Data\ConfigFile.txt NOTES_KitType=1 ;InstallType 6 Client Only" NOTES_InstallType=6 ; if user.id is stored within Windows profile NOTES_KeyFileName=%HOMEDRIVE%%HOMEPATH%\Application Data\Lotus\Notes\Data\User.ID NOTES_PercentAvailSysResources=2 ; stick to the single network protocol TCPIP, omit COM1 NOTES_Ports=TCPIP NOTES_TCPIP=TCP,0,15,0 ; "hard code an extension manager that user can't disable it by commenting the line before launching Notes NOTES_ExtMgr_AddIns= NOTES_AddInMenus= NOTES_Spell_Dir=%ALLUSERSPROFILE%\Application Data\Lotus\Notes\Data NOTES_Logfile_Dir=%Temp%\IBM_Technical_Support