in my program i use the strcat(name, ".txt") to add .txt to the name imputed and to save it as a text file.

well later when i use it to call that same file back how do i remove the .txt so that the name can be used for something else.

thanks for any help.