I have the program foo in the directory C:\exe\
From the directory, I do :
I need that toto.exe prints the path of the directory into which it is located (in this example : "c:\exe").
The system function getcwd returns C:\loin but not C:\exe.
Please, I need a quick answer.