how can i change the directory in cmd code example

Example 1: how to change directory in command prompt

To move to a directory(folder) just type cd and follow by name 
i.e cd document {do note that it should be in the same directory(folder)}
just type cd to move to the top of the tree
now to move to a specific folder type with a "/" inbetween
i.e cd windows\system32
When you need to go one folder up, use the "cd.." command.
To access another drive, type the drive's letter, followed by ":"
i.e D:

Example 2: change directory cmd

cd  
comment to change directory in the cmd