I'm not quite sure of what that code is supposed to be doing or why it has anything to do with strings or character arrays. I could tell you that you're indentation is bad and you're making unsafe calls to system(). In any event, there is nothing there that couldn't be done with a string.Originally Posted by mburt