The cmd terminal of win11 enters cd and the command to switch to a different directory is invalid

Description of the problem: The cmd terminal of win11 enters cd to switch to a different directory. The command fails

 

Solution

method 1:

D:
cd D:\MyProject\Vue

Execution result 1:

Method 2:

cd /d D:\MyProject\Vue

Execution result 2:

quit:

C:

Guess you like

Origin blog.csdn.net/qq_58062502/article/details/125253764