Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
change directory command doesn’t work in windows command prompt

I have a ramdisk on t: drive in Windows 7 64bit. It has a folder called temp. I can't do a CD t:\temp in a DOS window. There's no error message. the command returns with a prompt at the same c: folder where I issued the command. If I do t: it switches to t drive. The CD however doesn't switch to that drive.

share|improve this question

marked as duplicate by heavyd, random Aug 9 '10 at 19:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Possible duplicate of… – Hello71 Aug 9 '10 at 16:59
up vote 2 down vote accepted

CD only Changes the Directory, it doesn't change to another drive.

Thus the correct sequence is:

cd Temp

If you want to type that on one line for some reason:

T: && cd Temp
share|improve this answer
Actually if you do the /D switch it will change your drive cd /D T:\Temp – Scott Chamberlain Jun 11 '14 at 5:00

Not the answer you're looking for? Browse other questions tagged .