Which program am I running?

void setup() 
{

  Serial.begin(9600);
  Serial.println(__FILE__);
  // other code

} // setup

The preprocessor will replace 'FILE' with your *.ino file name.