Microsoft KB Archive/79658

= Using MS-DOS 5.0 COPY Switches /A /B to Remove ^Z =

Article ID: 79658

Article Last Modified on 12/3/1999

-

APPLIES TO


 * Microsoft MS-DOS 5.0 Standard Edition

-



This article was previously published under Q79658



SUMMARY
The following command should read file1 until a ^Z (end-of-file) character, and then write this to file2 without the ^Z character (in effect, stripping the ^Z):   copy file1 /a file2 /b The above command works correctly on files where the size including the ^Z character is 65024 or fewer bytes. However, it does not work (does not strip ^Z) on files that are 65025 bytes or larger.

Microsoft has confirmed this to be a problem with Microsoft MS-DOS version 5.0. We are researching this problem and will post new information here when it becomes available.



MORE INFORMATION
An alternative method of removing ^Z from a text file is to load the file into MS-DOS 5.0 Editor and then save the file. For example, the command   edit file1 starts Editor and loads the file. Within Editor, choose the Save command from the File menu. To exit Editor, choose Exit from the File menu.

Additional query words: 5.00 noupd

Keywords: KB79658

-

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

© Microsoft Corporation. All rights reserved.