Cool CD (Change Directory)

Version 1.0.0.1 (2.57 KB) by Brendan
A better version of the "cd" function (to change directories)
1.6K Downloads
Updated 1 Sep 2016

View License

This is a very simple tool to maintain a stack of directories that you want to move between. It works just like "CD", except when you use "CCD" it adds the current directory (the one you are moving OUT OF) to the top of your directory stack.
You can quickly change back to any of the directories in your stack, add new ones, or clear the stack. Also, just typing "CCD" (with no arguments) will toggle through the stack of directories. This is especially nice if you just need to bounce back and forth between 2 directories.

The usage is well documented in the function's "help" section.

Cite As

Brendan (2024). Cool CD (Change Directory) (https://www.mathworks.com/matlabcentral/fileexchange/5959-cool-cd-change-directory), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Search Path in Help Center and MATLAB Answers
Acknowledgements

Inspired: Change Directory (cd) Overload

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.1

Updated license

1.0.0.0