I want to know the Path of the running Application.
i.e the .Exe file's Path.
If I use GetCurrentDir(),it returns the path.
But if I open any files in some other directories from
the application on running,the the GetCurrentDir() function returns
the path of the recently opened file.
Can anyone tell me what is the function to get the
path of the running application(.Exe file).
Thanks a lot for your replies.