You might try this: sprintf(buf, "cp %s %s\nrm %", oldfile, newfile, newfile) system(buf); That's just an approach, and as many before me have said: Written in the mailer don't blame me when it blows up. (And it will blow up.. you'll have to check the syntax.. but you get the idea..) This is ofcoz assuming you want to do it in circle.. in unix well phhh.. if u don't know that, you shouldn't be running a mud. Chris +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST