I have created a program that generates an application which I have saved in a certain location, lets use C:\Documents and Settings\UserName\Desktop\Folder\ as an example. The program uses this base location, then searches through some subfolders, alters a file, and saves the altered file in the base location that the application is running from. Right now, I have the Base Location statically defined in my C++ code. Is there any way of making my program read the location the app is running from without actually defining it, because the program needs to run on different computers (The end product will be located on a shared "J:" drive instead of "C:"). I am using Microsoft Visual C++ 6.0 (I know its old!).