BUG: RUN /0 Command Strips Quotes from String

Last reviewed: June 2, 1995
Article ID: Q122968
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, version 2.6a

SYMPTOMS

The RUN /0 command strips the quotation marks off a text string returned from a batch file when FoxPro is running in standard mode. This behavior is not seen if FoxPro is running in extended mode or if the RUN command is issued without the /0 argument.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a batch file named TEST.BAT that contains the following 2 lines:

    @echo off echo (%1)

  2. Type the following two commands in the Command window:

    RUN test.bat "word" RUN /0 test.bat "word"

Notice that the first RUN command will return "word" (with the quotation marks) and the RUN /0 command will result in the text string (word) being returned without the quotation marks.


Additional reference words: FoxDos buglist2.60a 2.60a
KBCategory: kbprg kbbuglist
KBSubcategory:


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.

Last reviewed: June 2, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.