From: "Damian Yerrick" Newsgroups: comp.os.msdos.djgpp Subject: Re: Text File Restore. Date: Sat, 4 Sep 1999 11:22:58 -0500 Organization: Rose-Hulman Institute of Technology Lines: 16 Message-ID: <7qrh4i$r3g$1@solomon.cs.rose-hulman.edu> References: <37d0a295 DOT 21731596 AT news DOT access1 DOT net> NNTP-Posting-Host: yerricde.laptop.rose-hulman.edu X-Trace: solomon.cs.rose-hulman.edu 936462290 27760 137.112.205.146 (4 Sep 1999 16:24:50 GMT) X-Complaints-To: news AT cs DOT rose-hulman DOT edu NNTP-Posting-Date: 4 Sep 1999 16:24:50 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com TM wrote in message news:37d0a295 DOT 21731596 AT news DOT access1 DOT net... > I made a huge mistake: opened a text file in "w" mode. Of course, my > 3.8 meg file is zero length now. Anybody got a scheme to recover the > file? I'm running win98 with FAT32. I don't know for sure, but try using Norton or something. If I were you, I would have backed up the file in a Zip archive before using untested code on it. At least that's what I did when developing search-bible.exe. Damian Yerrick http://come.to/yerrick.