I\'d like to write a command line tool in C that acts as an advanced \"cd\" or \"pushd/popd\" command that can be ported to Windows/Mac/Linux. (Full details, in case you are cur
Manipulating the working directory of a shell is something that must be done by the shell itself - you cannot write a program to do it. As for your second question, please post an example of what you are asking about.