PROCEDURE GetSystemDirectory *-- returns the path of the Windows System directory DECLARE Integer GetSystemDirectory IN Win32API; String @cWinDir, Integer iSize LOCAL lcSysDir, lnSize lnSize = 100 lcSysDir = SPACE(lnSize) lnRetVal = GetSystemDirectory(@lcSysDir, lnSize) IF lnRetVal > 0 RETURN LEFT(lcSysDir, lnRetVal) ELSE RETURN "" ENDIF ENDPROC>Hi all: