KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q48871: Invalid Arg Filename Followed By F2 Causes Screen Error

Article: Q48871
Product(s): See article
Version(s): 1.00   | 1.00
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | buglist1.00 | mspl13_basic
Last Modified: 26-SEP-1989

When trying to read in a file with the Arg Setfile function, an
improper filename returns an operating system error. If the Microsoft
editor (M) is in split-screen mode, any horizontal divider bars are
lost in MEP. The error contains the two following lines, which cause
the screen to scroll one position erroneously:

   Next filSYS1041: The name specified is not recognized as an
   internal or external command, operable program, or batch file.

In M, screen integrity is preserved, but the following error is
returned:

   Bad command or filename.

For example, invoke arg (ALT+A) to start an argument and enter about
20 or so shifted numbers (e.g. ^&%$&^%$^%$#^%$#^%$@%(^&*(*^&&*), and
then invoke Setfile (F2).

The screen becomes corrupted and the next keystroke may crash the
editor with an integer divide by 0 (zero).

Microsoft has confirmed this to be a problem with the Microsoft Editor
Version 1.00. We are researching this problem and will post new
information as it becomes available.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.