Microsoft KB Archive/162554

= BUG: MODIFY COMMAND GETFILE Creates a New File =

Article ID: 162554

Article Last Modified on 10/15/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0b for Macintosh
 * Microsoft FoxPro 2.6a Professional Edition for Macintosh

-



This article was previously published under Q162554



SYMPTOMS
Using the GETFILE function with the MODIFY COMMAND command to open a file without an extension creates a new file with a .prg extension. The original file is not opened.



RESOLUTION
In FoxPro 2.6a for the Macintosh, use the MODIFY FILE command instead of the MODIFY COMMAND command with the GETFILE function.

However, in Visual FoxPro 3.0b for the Macintosh, using GETFILE with the MODIFY FILE has the same problem as GETFILE with MODIFY COMMAND. The command opens a new file with a .txt extension.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.



Steps to Reproduce Behavior
 Create a text file named Test. Make sure the file does not have an extension.  In the Command window, type the following command and press enter: MODIFY COMMAND GETFILE  Select the "All Files" check box and locate the file named Test. Highlight Test and choose Open. An edit window appears; however, a new file named Test.prg opens.</ol>

Additional query words: VFoxMac FoxMac buglist3.00b buglist2.60a

Keywords: KB162554

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.