Microsoft KB Archive/69151

Word: Using DOS Copy Con to Create Font Mapping (DAT) File

PSS ID Number: Q69151 Article last modified on 11-24-1998

=
========================================================= 5.00 5.50 6.00 MS-DOS kbinterop

Summary:

When using the DOS Copy Con command to create a font mapping file for use in converting documents to or from any of Word’s supported file formats, a carriage return/line feed must be entered at the end of the last line of the file prior to pressing CTRL+Z (or F6), ENTER in order to copy the input to the specified filename.

For example, if you are creating a font mapping file to customize font conversion between Rich Text Format (RTF) and Word for DOS, commands entered from the DOS prompt may appear as follows:

C:con rtf_pcw.dat #RTFFontName;WordFontNumber courier;0 timesroman;16 ^Z

If the carriage return/linefeed is not included at the end of the last line when creating the file, the last line of the font mapping file (timesroman;16 in the example above) will be ignored. Consequently, unreliable font mapping will occur.

Reference(s):

“Using Microsoft Word.” Version 5.50, Appendix C.

KBCategory: kbinterop KBSubCategory: Additional reference words: textconv geninfo ====================================================================== ============================================================================= Copyright Microsoft Corporation 1998.