Microsoft KB Archive/119403

{| = BUG: "Unrecognized Command Verb" When Starting FoxPro =
 * width="100%"|

ID: Q119403

The information in this article applies to:


 * Microsoft FoxPro for Windows, versions 2.5x, 2.6, 2.6a
 * Microsoft FoxPro for MS-DOS, versions 2.5x, 2.6, 2.6a

SYMPTOMS
The error message "Unrecognized command verb" is displayed when FoxPro starts.

CAUSE
The configuration file (usually CONFIG.FPW or CONFIG.FP), contains both the _STARTUP= and COMMAND= lines, and the program specified by _STARTUP uses a name expression.

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.

Steps to Reproduce Problem
NOTE: These steps assume that a configuration file has already been created for FoxPro.

1. Start FoxPro. Type "MODIFY FILE SYS(2019)" (without the quotation marks)

to open the configuration file. 2. Type the following in the configuration file: _STARTUP = 'test.prg' COMMAND = WAIT WINDOW 'HELLO' 3. From the File menu, choose Close. Choose Yes when prompted to save changes to the configuration file. 4. From the File menu, choose New. Select Program, and then choose the New or OK button. Type the following in the program window:

x = '_STARTUP' WAIT WINDOW &x 5. From the File menu, choose Close. When prompted to save changes, choose Yes, then save the program as TEST.PRG in the main FoxPro directory. 6. Quit FoxPro, then restart it. As FoxPro starts, you will see a WAIT window displaying the full path to TEST.PRG. After you press a key to clear the WAIT window, the "Unrecognized command verb" message is displayed.

Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a 2.50b 2.60 2.60a errmsg buglist2.50 buglist2.50a buglist2.50b buglist2.60 buglist2.60a err msg ampersand KBCategory: kbprg kberrmsg kbbuglist KBSubcategory: FxprgMacrosub
 * }