Hi, I'm trying to write a batch file that uses xcopy to backup files. Every time it tries to copy a new file that doesn't exist it asks me if it is a file or directory. Is there a way to make it see that if there's a file extension it's a file otherwise it's a directory so that it will stop prompting me?? I've tried the /I switch which I guess is for if the directory being copied into doesn't exist. I am not adding the /P switch and have the /Y swtich so I dunno what else to do to stop the dang prompting. Any help?