cmdchange directory with space

C++
You need to surround the path in double quotes if there is a space in the path!
for example :
cd "C:\Program Files"
Source

Also in C++: