CD.. Does Not Work On CMD

CD.. in command prompt is used to change the directory. In any case, if it does not work you should follow this step.

In command prompt(CMD) we use several commands, one is CD.. to go back one step.

C:\xampp\htdocs\CodeWeb

By using cd.. you got this:

C:\xampp\htdocs

Error message

The error message comes when you use the simple easy command cd.. which is to go back one step. And it shows the error like below.

'cd..' is not recognized as an internal or external command,
operable program or batch file.

Solution

cd.. does not work cmd

Use the same command with a space after CD

Instead of using cd.. use cd ..

You see here a space between CD and .. (two dots).

Related Posts