CMD Master
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
Set-Location[arguments]
Set-Location
Terminal
PS C:\Users\Student>Set-Location Documents

Moving Through Directories

Terminal
C:\Users\Student\Documents\NavigationDemo
PS C:\Users\Student\Documents\NavigationDemo>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

Create Files in PowerShell

Learn to create new files with New-Item.