go back one directory cmd code example
Example 1: command prompt cd back
cd ..\ -> To go back one level
cd ..\..\ -> To go back two levels
Example 2: how to move to directories in command prompt
cd Desktop/myDirectory
Example 3: terminal change directory
// change directory in terminal
cd folder_name/subfolder_name
// go up one directory level
cd ..
// back to previous directory
cd -
// return to home directory
cd