|I'm not very knowledgeable about batch files. But I 'think' I see a problem.|
I think the following should be surrounded by quotation marks:
Also I have had a strange problem (rarely) with file names surrounded by quotes when they didn't need them, like the following:
For the actual coding of the batch, I'm afraid I can't help.