LS> { //------ Added by Lothar LS> static int counter; char buf[100]; File *of, *if; static char s[150*1024]; LS> sprintf(buf,"z:\\src\\%d.rb"); uups, of couse it should be sprintf(buf,"z:\\src\\%d.rb",counter++); -- Best regards, emailto: scholz at scriptolutions dot com Lothar Scholz http://www.ruby-ide.com CTO Scriptolutions Ruby, PHP, Python IDE 's