Changing directory
Ok i've written some code which implements the cd command. Problem is it doesn't actually seem to change the directory at all. It says it has but when u do a pwd ur still in the same directory!!! WHY???????????????
Code:
/*The following code will implement the* |
Well the program actually does change the directory but only for the environment in which the program is running. I hope you weren't expecting it to change the directory in the shell which you are running the program. It won't work that way.
|
All times are GMT -5. The time now is 05:03 PM. |