It's not obvious to me just where the error occurs. Seems odd that both of those xcopy commands don't actually copy any files. Are there really no *.bat files in the bin folder, and no files at all in the html folder ?
Actually, if there were no *.bat files in the bin folder then I would expect to see a "File not found - *.bat" message. The absence of that message would indicate that at least one .bat file exists ... yet 0 files get copied. Do you get the same responses if you run those 2 xcopy commands manually (from the appropriate directory of course) ?