Hello All,
Please help me with this.
The command line below which renames the files in a folder and subfolder works.
for /r C:\test1 %X in ("1106*atched randomdates*.sps") do (ren "%X" "1206*.sps")
When I change the path name to one that has a space in it the syntax no longer works even when I put quotes around the path as in below.
for /r “C:\test 1” %X in ("1106*atched randomdates*.sps") do (ren "%X" "1206*.sps")
I get the error message 1” was unexpected at this time.
Why is this and how can I fix it?