-
Chdir()
Hello!
I start to give an example:
I'am running the program in the directorie("/home/big/work2")
Then in the middle of the program i change the directorie:
I've used chdir("FINE");
And then i want in other part of the program to return to the previous directorie:
("/home/big/work2")
How can i return to the previous directorie without writing the all PATH:/home/big/work2
Like doing "c.."
thanks
-
How about "cwd()" to get the current directory before you chdir(), so you can chdir() back again when you're done