I think you might be best off sticking a "whois.exe /gui" command on the icon..
I don't know if there's a way to determnine if the program has been launched by commandline or desktop though..
I don't know if there's a way to determnine if the program has been launched by commandline or desktop though..