"cd -" equivalent on Windows?

16,592

Solution 1

popd, which is to be used alongside pushd.

Solution 2

See Navigate to previous directory in windows command prompt

Share:
16,592

Related videos on Youtube

Steven
Author by

Steven

Updated on September 17, 2022

Comments

  • Steven
    Steven over 1 year

    Possible Duplicate:
    Navigate to previous directory in windows command prompt

    Is there an equivalent of Linux's cd - (change to previous directory) in Windows?

  • Tamara Wijsman
    Tamara Wijsman almost 12 years
    Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
  • Joseph Rogers
    Joseph Rogers over 7 years
    -1 because cd is subtly different on Windows/DOS compared to Linux, and the OP question was about a specific option which doesn't work on the windows version.