Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 superuser.com/questions/165364/… –  Hello71 Aug 9 '10 at 16:59

1 Answer 1

up vote 2 down vote accepted

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

Thus the correct sequence is:

T:
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 at 5:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.