DECLARE integer GetLongPathName IN WIN32API ; string @ lpszShortPath, string @ lpszLongPath, integer cchBuffer #define MAXPATH 267 STORE SPACE(MAXPATH) TO lpszLongPath lcPath = "C:\DOCUME~1\USERID\LOCALS~1\TEMP\" lnLen = GetLongPathName(m.lcPath,@lpszLongPath,MAXPATH) if lnLen > 0 ? SUBSTR(lpszLongPath,1,lnLen) else ? 'Path invalid' endifCetin