It doesn't have to be as complex but I wonder how to code it. Basically when running my own shell program such as "ishell cd <directory>" it will change the current default directory to <directory> and also change the PWD environment variable; and "ishell dir <directory>" will list the content of the directory; "ishell env" will list all the environment strings.
Thanks!





