CMD cd to other drives except C:\ not working [duplicate]

You do not need to cd d:\ just enter d:.

CD stands for change directory, which is not what you want to do.


Use one of the following:

C:\Ruby\bin> cd /d D:\
D:\>

or

C:\Ruby\bin> cd D:\
C:\Ruby\bin> D:
D:\>