To change drives, don't use the CD command. The CD command is for changing the directory path.
Type "C:" for C drive.
Type "D:" for D drive.
Once the drive you want is showing use the CD command to change directories.
Example:
The first line of my example takes you to D drive.
The next line then changes the directory path.