Sorry for not expaling it. MY OS is Win2k Professional. This is what I am trying to do when I read a file using a loop "while != eof" then do something. But trick is the file that I am going to read will not have "eof" so I might get into an infinite loop and then I will try to handle this problem. But first I wana create a file that has no eof in it. I hope that explains it.