You may retrieve the current dir, or better the executable path, and then append the name of the file. If you want only the current drive GetCurrentDirectory() is right, just take the first char. If you want the current executable path, use GetModuleFileName(NULL,...) and cut off the text after the last backslash. Then you may append your file's relative path. Paolo.