I'm writing a small batch file to copy my C# project to another drive. I'm using
XCOPY to copy an entire folder (We have some XP machines still, so
robocopy isn't an option). However, when I run the batch file, it tells me that it cannot find the FILE specified (why it's looking for a file and not a folder I have no clue).
Here's my folder structure. I'd like to copy
folder to the
program\dst folder on the
src -folder -batchFile.bat O -program --dst
My batchFile.bat contains the following line
XCOPY ".\folder" "O:\program\dst" /E
When I run this, it says:
File Not Found - folder
even though it most definitely exists (as a folder, not a file).