This has been discussed before, so you can use Super Search to see the earlier solutions. I think I recall a couple of the solutions as being:
- Set up some symbolic links on your machines to make the paths look the same.
- Do some of the setup in your environment on the different machines rather than hardcode it in your script
...roboticus