in reply to using chdir($variable_name) to change directory
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using chdir($variable_name) to change directory
by shridhar22 (Novice) on Jul 06, 2011 at 07:23 UTC | |
by roboticus (Chancellor) on Jul 06, 2011 at 11:09 UTC | |
by Anonymous Monk on Jul 06, 2011 at 12:12 UTC | |
by shridhar22 (Novice) on Jul 07, 2011 at 04:56 UTC | |
by shridhar22 (Novice) on Jul 07, 2011 at 04:54 UTC |