CD (change directory) doesn't work in cmd.exe #3590

Closed
opened 2026-01-30 23:25:04 +00:00 by claunia · 3 comments
Owner

Originally created by @SOI7 on GitHub (Aug 27, 2019).

I can't change directory through the "cd" command in a cmd.exe tab, each time I do that prompt results in the original directory. I can change it in Powershell, though

Originally created by @SOI7 on GitHub (Aug 27, 2019). I can't change directory through the "cd" command in a cmd.exe tab, each time I do that prompt results in the original directory. I can change it in Powershell, though
Author
Owner

@DHowett-MSFT commented on GitHub (Aug 27, 2019):

Can you share a screenshot of what you're seeing?

@DHowett-MSFT commented on GitHub (Aug 27, 2019): Can you share a screenshot of what you're seeing?
Author
Owner

@SOI7 commented on GitHub (Aug 27, 2019):

Sure thing
Annotazione 2019-08-27 202851

@SOI7 commented on GitHub (Aug 27, 2019): Sure thing ![Annotazione 2019-08-27 202851](https://user-images.githubusercontent.com/50930970/63797922-55a0c900-c909-11e9-99b6-fb80f83a70a9.jpeg)
Author
Owner

@DHowett-MSFT commented on GitHub (Aug 27, 2019):

Ah, figured it’d be something like this. CMD doesn’t let you change drives using cd. You’ll just want to enter E:. You can use cd to set the working directory for each drive individually and switch between them with the drive letter commands.

@DHowett-MSFT commented on GitHub (Aug 27, 2019): Ah, figured it’d be something like this. CMD doesn’t let you change _drives_ using `cd`. You’ll just want to enter `E:`. You can use `cd` to set the working directory for each drive individually and switch between them with the drive letter commands.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3590