How to Change the Directory in Command Prompt?

Open Command Prompt

Type `cd` followed by the folder path

Press `Enter`

Use `cd ..` to move up one directory

Use `cd ` to go to the root of the current drive

Use `cd /d D:FolderPath` to change drive and directory at the same time

Use quotes for paths with spaces, such as `cd “C:Program Files”`

Use `dir` to check the current folder contents

Suggested for You

Trending Today