Subj : Re: long filename... To : borland.public.cpp.borlandcpp From : Ed Mulroy [TeamB] Date : Sat Oct 09 2004 07:54 pm I assume that you are writing a 32 bit Windows program. If you use the Windows API functions FindFirstFile, FindNextFile and FindClose, the returned values have the long file name and, if the name is not a valid DOS 8.3 name, it also gives you the short file name. .. Ed > ron wrote in message > news:41685b12@newsgroups.borland.com... > > I need to read from a dir all the filesnames and copy > them into a file. nice, i can do that only that the name > are max 8 letters + . + 3 of ext. > > how can i copy the full and long filename ??? > > i'm using open dir, and then readdir .