cmd go to previous directory code example Example: command prompt cd back cd ..\ -> To go back one level cd ..\..\ -> To go back two levels