The right way to open a directory in Command Prompt is by using Directory Change in CMD. For instance, typing cd FolderName will open a folder within your current location. To open a folder directly by specifying its path, use cd C:\Path\To\Folder. If the folder name has spaces, then you have to enclose the whole path in quotation marks, e. g., cd “C:\Program Files”. To change your current drive and directory at the same time, use cd /d D:\Work\Projects. Another possibility is to use the cd.. command to get one level higher and dir to see what folders are there.