Back to Blog
Arnošt Havelka

Navigate Directories in PowerShell

Master the cd command to navigate your file system.

Start Interactive Lesson
Navigate Directories in PowerShell

The cd command is your gateway to exploring the file system. Learn how to move between directories efficiently.

Change Directory Basics

Try the command

Navigate to a directory!

Build the command
cd [directory]
..Go to parent directory
~Go to home directory
/Go to root directory
Terminal
C:\Users\User>cd [directory]

Moving Through Directories

Command Prompt
C:\Users\user
C:\Users\User>pwd

Knowledge Check

1 / 1

How do you move up one directory level?

References

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

Up Next

List Files with Flags in PowerShell

Use ls flags to see detailed file information.