You can't assume the CWD.

I've always put the directories I'm interested in either in the script or an INI file of some sort.

FWIW, I've never heard the bit about shooting yourself in the foot, unless that's simply an acknowledgement of the dodgyness of cwd as mentioned above. *shrug*