Hello, I have a listing of directories and files in a root directory which I need to recreate at another Windows NT DOS shell machine. The alogrithm I have implemented in general works like this: # check if the listing exist in target machine # if exist, check if it is a file in target machine # if file, copy file over existing file in target # if directory, ignore # if not exist, check if it is a file in source directory # if file, create directory path and copy file to target # if directory, create directory only I am using the -e and -f test. Something is jinking the test and the -f does not work, so all my files always end up as directories in the target. What's wrong? Or is there a better way? TIA. Vincent -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]