How to change directory to an external disk using the command line in Windows.

cli windows

To change directory in Windows from the command line, you need an extra flag:

cd /d d:\myUsbDrive

The /d changes the drive and the directory. Relevant StackOverflow.

© Amy Tabb 2018 - 2023. All rights reserved. The contents of this site reflect my personal perspectives and not those of any other entity.