Make an EXE get its own EXE name?
Ok, sounds simple.. use app.EXEname
Trouble is that doesn't work if the user changes the exe file from what it was originaly. For instance, I compile an exe called blabla.exe, now thats fixed as app.EXEname, so if a user changes the exe name to albalb.exe - app.EXEname will still see it as blabla.exe
Anyhows, I need my program to work with the exe when its run. The first thing the program needs to know is what its own name is.. can someone suggest how to do this?
Many Thanks...