I'm doing a simple program in which i save my configuration in a plain text file. I don't have a problem with the input or output, however, since I want to be able to package my program and send it around, I need to be able to allow my program to find out where it is installed to. This is so that I don't have to specify a path to my config file, rather, I want my program to find out where it is installed and put that file in that location. Does anyone know how to do that?

Mike Dryden