BUG: Parameters Passed with Hyphen to Executable are IgnoredID: Q124776 The information in this article applies to:
SYMPTOMSA FoxPro stand-alone executable ignores parameters passed to it if they are preceded by a hyphen, even if the whole expression is enclosed in quotes. The subsequent parameters (if any) are shifted to the left.
RESOLUTIONPass the parameters with a different preceding character. Some valid characters are:
STATUSMicrosoft 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 Problem1. Create a new project by using the File menu. 2. In the project window, choose New; then choose program. 3. In the newly created program window, type the following code:
4. Press CTRL+W to close and save this program. When prompted for a name,
5. In the project window, choose build. Then choose build executable. The
6. Close FoxPro.
7. Start the executable, passing it four parameters, two of which are 8. Note that the first wait window reports that only two parameters were
Additional reference words: FoxWin FoxDos 2.60a buglist2.60a
KBCategory: kbenv kbbuglist
KBSubcategory: FxenvOs
|
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |