Back to Blog
Arnošt Havelka

Navigate with CD

Hop between folders like a pro.

Start Interactive Lesson
Navigate with CD

Imagine your computer as a giant filing cabinet. The cd command is your key to open any drawer you want. Try the examples below to see how navigation works!

Try the command

Try moving in and out of folders!

Build the command
cd
[folder]Enters the specified folder.
Terminal
C:\Users\User>cd Documents

Real-World Examples

Navigate to your Desktop:

Command Prompt
C:\Users\User>cd C:\Users\YourName\Desktop

Go up two levels quickly:

Command Prompt
C:\Users\User>cd ..\..

Jump to the root of your current drive:

Command Prompt
C:\Users\User>cd \

Knowledge Check

1 / 2

How do you enter the 'Music' folder?

References

These documentation links provide authoritative details for the commands used in this article.

Up Next

The MKDIR Command

Learn how to create directories from the command line.