[SystemPath]
SystemRoot = F:\USER_SYSTEM_PATH\
You need to declare a windows API function to read from the INI file, e.g. a function like:PARAMETERS cSection, cEntry, cINIFile LOCAL cDefault, cRetVal, nRetLen cDefault = "" cRetVal = space(255) nRetLen = LEN(cRetVal) DECLARE integer GetPrivateProfileString IN WIN32API ; STRING cSection, ; String cEntry, ; STRING cDefault, ; STRING @cRetVal, ; INTEGER nRetLen, ; STRING cINIFile nRetLen = GetPrivateProfileString(cSection,; cEntry, ; cDefault, ; @cRetVal, ; nRetLen, ; cINIFile) return left(cRetVal,nRetLen)Then, to call ReadIni, to get your user system path, let's assume you have the ini file in the same folder as your program:
lcDefault = SYS(5) + SYS(2003) && default path to your software lcIniFile = lcDefault + "\USER.INI" lcSystemRoot = ALLTRIM( READINI( "SystemPath", "SystemRoot", lcIniFile))lcSystemRoot now holds "F:\USER_SYSTEM_PATH\" and you can use it to get the sub-folders, as I indicatred in my last message. Thus, wherever you store your folders in the user's system, they can be found.