Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

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

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
@Excellll It's not, the question you linked to talks about the native shell (cmd), not PowerShell. – Ohad Schneider Feb 15 at 14:17
up vote 18 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.