Steve Westwood 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. My first concern is that the zero byte file size may prevent you from recovering your data. If the directory doesn't indicate that the file has any bytes in it, any effort at recovery may overwrite your data. If your file size permits, you may want to try to recover the data to a floppy. The DOS copy command (probably xcopy also) will allow you to concatenate two files into a third file. The command is "copy file1 + file2 file3". (You may need to use the switch "/b" for this to work with the improperly terminated file.) By using an empty text file as file2, it will provide the EOF for your data. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body