27

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.

2 Answers2

47

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
-1

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