cd command not working. Cant change directory in windows 10 [duplicate]

Solution 1:

In order to change to a different drive you either have to add the /D parameter to cd or type the drive on a line by it's own.

cd /D E:\

Or

E: