niputaidea
Programmer
I need to find out where the executable that is currently running is located. For example, if a have an executable foo.exe located in c:\bar\foo.exe and I execute foo.exe from c:\a\very\long\path, I still need to know that foo.exe is located in c:\bar. I can get the directory where it was called from but not where it is located. Any help will be gladly appreciated.
Thx
NPI
Thx
NPI