This came up on an internal alias recently…. Nothing earth shattering here, but I figured it might help someone googling for an answer someday… Hey, if it did, drop me a comment and let me know about it…
I just want the exe name of a console application but have no idea where its at.
int main(int argc, char* argv)
cout<<argv; //This will give you the exe name