strcpy(exec2,exec);
/* this depends on short-circuit evaluation */
if ( ((p = strrchr(exec2,'\\')) && stricmp(p,"\\xemacs") == 0) ||
strcpy(exec2,exec);
/* this depends on short-circuit evaluation */
if ( ((p = strrchr(exec2,'\\')) && stricmp(p,"\\xemacs") == 0) ||