how to get back to previous folder in cmd code example Example: how to move to directories in command prompt cd Desktop/myDirectory