Cannot cd to a folder with spaces in the the folder path
Solution 1:
Type cd c:\
. Now press the tab key (this is auto-complete, which will save you a lot of typing) repeatedly until it shows you a directory with spaces in the name. Notice how it delimits the path with apostrophes '
. Use the same character when you're typing.
Edit: Make sure to use an apostrophe, not a backtick.
Solution 2:
You need to surround the path in double quotes if there is a space in the path!
cd "C:\Program Files"
Solution 3:
You can also use the ProgramFiles environment variable
cd $env:ProgramFiles