simple .bat script solution eluding me :(

Homerboy

Lifer
Mar 1, 2000
30,856
4,974
126
So I have some paths that (annoyingly) contain "!!!!" in them (yes, that's 4 exclamation marks)
For a variety of reasons I can not remove the "!!!!"
So, I need to write a small .bat to copy some files from that folder to a different folder, but it appears the "!!!!" is causing grief


C:
CD\
XCOPY "C:\!!!! folder\" "C:\New Location\"

Simply returns "invalid path"
Is there some way to fix that?
I think I've overthought the problem and my mind is confused now.
Thanks in advance.