[comp.os.msdos.apps] SOLUTION!! WP 5.1 weirdness after Norton file Recovery

sutton@lamar.colostate.edu (Richard Sutton) (05/22/91)

An odd problem, but fairly trivial to fix given the right approach!
Some the original post included for background, followed by Jim Mayer's
solution sent to me via Email. Keep this on file, if WP is at your
workplace, sooner or later you'll need to know this.

>BUT, at the end of the final cluster is some random trash not in the 
>original file. When you arrow down to the bottom of the file, WP takes
>you back to the top!! Doing a Cntrl-PgDwn at the end of the document
>throws you down to pg 163 or so, and it's a 7 page document!

*************** Jim's Simple & Effective Solution Follows *************

	I would guess that WP is being given problems by the DOS file
length stored in the directory.  You probably now have it set to some 
even multiple of the cluster size rather than the actual number of bytes
that WP originally saved.  If you know where the exact end of the file
should be you could try adjusting the files size in the directory with
Norton (or whatever).  An easier and safer method would be to use WP to
			    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  (agreed!!)
block and save (to another file) the part of the file that is "good".
You will probably have to carefully move your cursor to the end of the
text while being careful not to move past the end.  This should be 
easy as you have already done the hard part in finding the clusters and
putting them together in a file.

Jim Mayer
jmmaye@monsanto.com

*********************************************************************
Oh yes, the cause of this mess was:
	1. Retrieve a WP doc from floppy.
	2. Remove floppy, & retrieve document 2 from another floppy.

Apparently this scrambles FAT's & Root Directories, though I havn't
tried to replicate.