Have you noticed how most of the other responses in this thread mention the chdir function? That's probably worth investigating. If that doesn't solve your problem you will need to be much more specific in its description. See How do I post a question effectively? and SSCCE for guidance.
|