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