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