Hi,
Thank you for writing to Microsoft Community Forums.
I understand that you’re facing issues when trying to rename directories as you receive syntax error.
We do have a dedicated forum where you should find support. I would suggest you to post your query on Windows on Q&A, where we have support professionals with expertise to assist you with your query.
Regards,
Prakhar Khare
Microsoft Community – Moderator