lParameters lpFileName lpFindFileData = space(1024) declare integer FindFirstFile in win32api ; string @lpFileName, string @lpFindFileData declare integer FindClose in win32api ; integer lnHandle *!* typedef struct _WIN32_FIND_DATA { // wfd *!* DWORD dwFileAttributes; *!* FILETIME ftCreationTime; *!* FILETIME ftLastAccessTime; *!* FILETIME ftLastWriteTime; *!* DWORD nFileSizeHigh; *!* DWORD nFileSizeLow; *!* DWORD dwReserved0; *!* DWORD dwReserved1; *!* TCHAR cFileName[ MAX_PATH ]; *!* TCHAR cAlternateFileName[ 14 ]; *!* } WIN32_FIND_DATA; *!* typedef struct _FILETIME { // ft *!* DWORD dwLowDateTime; *!* DWORD dwHighDateTime; *!* } FILETIME; nHandle = FindFirstFile(@lpFileName,@lpFindFileData) =FindClose(nHandle) cFilenameInfo = substr(lpFindFileData,45) cShortName = allt(substr(cFilenameInfo, ; at(chr(0),cFilenameInfo,2)-14,14)) ? cShortNameFor easier access to these plus many other functions visit www.fastwrite.com and check Focus.fll.