top of page
Herman Autore

Changing directories across drives (Windows)

Normally on the command line you can change directories by simply invoking the `cd ` command. However, if the directory you want to go to is on another drive, you must use the `/D` option or switch. Let’s take a common example where we are on the usual C drive and want to go to a folder Work Folder in a drive called X.

C:\>cd /D X:
X:\>cd "Work Folder"

Or in one go:

C:\>cd /D "X:\Work Folder"
0 views0 comments

Recent Posts

See All

Comments


bottom of page