BUG: RUN /0 Command Strips Quotes from String

ID: Q122968

The information in this article applies to:

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:

Last Reviewed: June 2, 1995