Welcome to Computerhope, lavender.
A bit of punctuation and a few capital letters wouldn't go amiss here, your post is a little hard to understand.
As I see it, you have both 98 and XP installed, and 98 no longer works because you deleted a system file?
And now you want to get rid of 98?
That makes sense to me.
If this is correct, just reformat the 98 partition to remove Windows 98 and recover all the space it was using.
However, this will remove everything on that partition, so don't reformat if there's any data on there that you need.