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.

I read this answer but it doesn't work for Windows PowerShell. How to change the drive?

EDIT:
Please ignore this question. I was trying to change the drive from C: to D:. The reason it wasn't working was that there was no D: on my computer. A really silly mistake.

share|improve this question

closed as too localized by Ƭᴇcʜιᴇ007, Karan, Tog, AthomSfere, Excellll Jun 23 '13 at 0:52

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
possible duplicate of Using cd Command in Windows Command Line, Can't Navigate to D:∖ –  Excellll Jun 23 '13 at 0:52

2 Answers 2

up vote 5 down vote accepted

PowerShell will resolve full paths just fine with CD.

Where in DOS you have to /d for drive changing:

cd /d H:\Folder

PowerShell you can just type the full path:

cd H:\Folder
share|improve this answer

It’s the same as the DOS shell “cd dir

share|improve this answer

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