In the pre-windows days I was able to open the file, and write a dummy block beyond where the file was supposed to end. DOS would automatically allocate all the blocks in between and therein I would find my data. This worked because the block allocation was dirt simple. Nowadays there are algorithms like random allocation and try-to-find-a-contiguous-set-of-blocks that this doesn't work anymore...depends how old your DOS is. But! The other suggestion--use CHKDSK--is a much better one, if it works. At 02:07 PM 6/19/01 +0100, you wrote: >I have an embedded PC104 application that logs data, however the power has >been switched off without the program writing an end of file. Therefore the >filename appears but with a size of zero bytes. Is there anyway of >recovering this data. Its a dos based application and obviously I don't want >to install any software over the top of the missing data. >In future obviously we will be closing the file on a regular basis. Any help >would be appreciated. > >Stephen Westwood -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body