Wait - are you saying now that you want to move the ITN folder and contents and not ignore the subfolders? If so, that is a different process.

The code change I originally provided changed the part that looked at the results from DIR and ignored the "." and "..". It should now ignore any filename returned from DIR() that has the Directory attribute set.

If you indeed want to copy the subfolder and files, the logic will be different.

Please clarify whether you want to IGNORE or COPY the subfolders and we'll put something together that will work.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D