Command Prompt Does Not Recognize End-of-File Character (156258)



The information in this article applies to:

  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0

This article was previously published under Q156258

SYMPTOMS

The command prompt (Cmd.exe) in Windows NT does not recognize the end-of- file character (0x1A) in batch and text files.

Specifically, batch files do not cease execution upon encountering the end-of-file character, nor does the TYPE command stop displaying text when it encounters the end-of-file character.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Windows NT versions 3.51 and 4.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Modification Type:MajorLast Reviewed:8/8/2001
Keywords:kbui KB156258