Changes To AUTOEXEC.BAT Not Taking Effect/Fil

DocumentID: 603167
Revision Date: 29-Feb-96 1:29:42 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Symptoms: The customer made a few changes to the AUTOEXEC.BAT file. After rebooting the machine, the changes didn't take effect. The customer performed a TYPE command on the AUTOEXEC.BAT file at DOS and the changes didn't appear. If the user looked at the file through SYSEDIT or the DOS editor in DOS 5.0, the changes appeared. The problem was a ^Z code that was placed in the file at a point before the lines where the user made changes. After deleting the ^Z, the user resaved the file and rebooted the computer, and everything worked fine. Solutions: The ^Z is a DOS End Of File marker. When the system reads the code, it naturally assumes that the end of the file has been reached. As of the 12/31/90 interim release, WP no longer reads past the End Of File marker. To correct a problem like this one, the customer can retrieve the file into a DOS editor (such as WP Editor) and delete the ^Z (Ctrl-Z) character. WP will put an End Of File marker at the end of the file when customers save them using Text In/Out (Ctrl-F5, 1, 1). This process is an industry standard. Most software packages add this marker simply to indicate the end of the file. One customer had problems retrieving a DataPerfect STE file into WP. WP would import the file up to the definition of a particular panel, which had some ASCII codes in it, and stop. The customer was also unable to view the file past this point using the DOS TYPE command. One of the ASCII characters in that panel was an ASCII 26 (^Z or Ctrl-Z) or DOS End Of File marker. The customer was able to retrieve the file into WP Editor, and the file worked correctly with DPEXP and DPIMP. WP truncated the file at the point of the ^Z marker.

Answer:

Details:

Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.