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