Hello, I am a total newbie at C programming, and programming in general. I am learning though, and I need help with deleting characters from a file name. What I am trying to do is have a program that looks at a file, and renames it by deleting the first, lets say two, letters in it. So lets say the file name was testfile.exe, I would like it to be renamed to stfile.exe. What I was thinking was that I would have to use a command that gets the file name and then another command that deletes the first two letters, and then another that pastes that back using the rename() function. Would this be a good way to go at it? And if so, how could I erase the first x characters in a word?
Thank you =]