You show that it displays "ms_qu/the/path/wirtten/in/file". But that path isn't rooted to "/", so chdir will be able to move to that directory if your program executes in a/the directory that leads to that location. Keep in mind that after changing to a directory, the next directory will likely fail for the same reason.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: using chdir($variable_name) to change directory
by roboticus
in thread using chdir($variable_name) to change directory
by shridhar22
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |