I'm trying to use gcc from MinGW under Msys to update some old DOS programs written with Microsoft C version 5 and I need to run through the list of files in a directory - I only need the file names so that I can open tham. Can anyone help with this? Thanks in advance. Michael Healy