SyntaxFix
Write A Post
Hire A Developer
Questions
You can use argv[0] and analyze the PATH environment variable. Look at : A sample of a program that can find itself