See chdir. What you are doing is changing the directory for the subshell. At the end of the system() call, the subshell exits and the current directory for your application remains unchanged.
In reply to Re: Change Directory.
by Corion
in thread Change Directory.
by ganilmohan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |