set PATH ="E:\"
XCOPY "%CD%\folder" %PATH% /e/c/i/r/y/EXCLUDE:"%CD%\Exclude.txt"
Contents of Exclude.txt:
I run the batch file, and it displays: Invalid number of parameters
I've tried putting spaces in between each extension, (/E /C /I),
I've rearranged their positions, I've tried multiple other things...
I just know I'm looking over some giant, obvious mistake in the code.