This may take the cake for the simplest questions asked here but I have a script that I want to just copy a file and not prompt me with "Does C:\Filename.bin specify a filename or a directory?"
The command is just
xcopy C:\sourceFolder\sourceFile.bin C:\destFolder\destFile.bin /i
but it keeps prompting me. I am running this on Server 2003. Maybe I just need to go to lunch.
From the xcopy technet page:
Since you're not using a wildcard, /I is ignored. You might want /q.