I would recommend using the cwd function from the Cwd module, which will give you the current directory of script so long as your script isn't changing directories (i.e. system calls to cd). Then you can append the relative path of the file to the output of cwd. By doing so, you should then be able to move your script and folder structure to any folder and it should work as far as paths to files are concerned.
In reply to Re: Can't find relative path
by dasgar
in thread Can't find relative path
by jag150s
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |