In the past I would have done:
cd "folder1\foldername with spaces"However, this version (without quotes) works just as well:
cd folder1\foldername with spacesSince it worked in Windows 10, I tried out Windows 8.1. It works in Windows 8.1 too. It's funny the little things you learn sometimes.