In order to alter a directory in Command Prompt (CMD), the standard is to issue the cd (change directory) command and then the folder path. For instance, entering cd Documents will take you to the Documents folder starting from whatever location you are currently at. The command for changing to a particular path is essentially cd C:\Users\YourName\Documents. In cases where the folder name consists of spaces, simply put it between quotation marks, e. g. cd "Program Files". To go up one directory level, you ought to type cd... If the scenario happens that you desire to change your drive and your directory at the very same time then the use of cd /d D:\Projects is in your best interest. The execution of the command dir will show you the folders available before performing the navigation. Read more: https://datarecovee.com/knowledge-base/how-to-change-directory-in-command-prompt/