Using cd to Change Drive Letters on Windows
Originally posted on my Windows Administration blog in 2013 here: http://web.archive.org/web/20130929034913/http://www.scottalanmiller.com/windows/2013/03/24/using-cd-to-change-drive-letters/
When changing directories with the cd command we need know nothing about how it works. The command is so basic we think nothing about it. That is, until we need to change the drive in which we are working. Suddenly on most versions of Windows today the base cd command does not work.
D:\>cd c: C:\Users\Administrator D:\>
That wasn’t very useful. Instead we need to use the /d flag to tell the cd command that we want to change drive letters. If you are line the drive and want to switch to the C: drive, try this instead:
D:\>cd /d c:
coliver last edited by
Can't you just type
Yeah, but this was explaining why cd does not work as expected.