Microsoft KB Archive/74196

= EDIT.COM Will Convert Eight Spaces to a Tab in Some Cases =

Article ID: 74196

Article Last Modified on 11/16/2006

-

APPLIES TO


 * Microsoft MS-DOS 5.0 Standard Edition

-



This article was previously published under Q74196



SUMMARY
In some situations, EDIT.COM will convert eight leading spaces to a tab character. This reduces the total size of the file by seven bytes for each set of spaces converted to a tab.



MORE INFORMATION
If a file containing tab characters is loaded into Edit, all lines with eight or more leading spaces will have groups of eight spaces converted to tab characters. The following steps will reproduce the symptoms:

  Create a two-line file with Edlin as follows: EDLIN NEW.TXT 1i LINE ONE <6 SPACES>LINE TWO ^C E                         Edit the file with EDIT.COM and append the following line: <8 SPACES>SPACES  Save the file. The third line will now be SPACES. To verify this, bring the file up under Edlin. Press 3 and press ENTER. Press the F1 key. The cursor will jump to the right one tab (six spaces). Any other groups of eight or more spaces at the front of a line will have groups of eight spaces replaced by tabs.</li></ol>

Microsoft is researching this problem and will post new information here as it becomes available.

Additional query words: 5.00

Keywords: KB74196

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.