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"
Comments