go to another folder in cmd cd code example Example: how to move to directories in command prompt cd Desktop/myDirectory