Need to navigate to a folder in command prompt [closed]

My command prompt starts in C:\Users\ (Name) and I need it to be in a different folder, how can I do this using the command prompt itself?


Solution 1:

Navigate to the folder in Windows Explorer, highlight the complete folder path in the top pane and type "cmd" - voila!

Solution 2:

I prefer to use

pushd d:\windows\movie

because it requires no switches yet the working directory will change to the correct drive and path in one step.

Added plus:

  • also works with UNC paths if an unused drive letter is available for automatic drive mapping,
  • easy to go back to the previous working directory: just enter popd.