Use ADIR() to get the list of files and than process them in a loop.
>
>I have a direrctory which contains a stack of BMP files - many of the file names are wrong - I can tell if a file is wrong by looking at the first character of the file name - based on what the first character is I know what the filename should be corrected to
>
>Has anyone any code that would help me do this?
>
>Thanks
>
>Colin
--sb--