hi all, when i used FindFirstFile() i got the file name as ".",for the first FindNextFile() call i got the name as ".." and for the third i got the correct one..how can i avoid the first two cases..
hi all, when i used FindFirstFile() i got the file name as ".",for the first FindNextFile() call i got the name as ".." and for the third i got the correct one..how can i avoid the first two cases..
File_Name = Dir$(File_Path, vbDirectory) Do While File_Name <> "" If File_Name <> "." And File_Name <> ".." Then ..... Your statements go here ..... End If Loop This way i avoided the first two cases:) Thanks & Regards, Bhaskar.G