I think that the check for the csd extension in Top/main.c:202 is a useless limit. It works: csound text.csd ... UnifiedCSD: text.csd ... but it fails cp text.csd text csound text ... orchname: text ... The follow is better (csound->orchname is non-NULL): else if ((csound->scorename == NULL || csound->scorename[0] == (char) 0) && csound->orchname[0] != '\0') { instead of the current else if (csound->scorename == NULL || csound->scorename[0] == (char) 0) { int tmp = (int) strlen(csound->orchname) - 4; if (tmp >= 0 && csound->orchname[tmp] == '.' && tolower(csound->orchname[tmp + 1]) == 'c' && tolower(csound->orchname[tmp + 2]) == 's' && tolower(csound->orchname[tmp + 3]) == 'd') { After this change, I can suggest a solution to Peter in csnd-ml. tito ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net