Microsoft KB Archive/111510

= PRB:  of PUTFILE Is Ignored in FoxPro for Macintosh =

Article ID: 111510

Article Last Modified on 10/15/2003

-

APPLIES TO


 * Microsoft FoxPro 2.5b for Macintosh
 * Microsoft Visual FoxPro 3.0b for Macintosh

-



This article was previously published under Q111510



SYMPTOMS
If you are developing a cross-platform application and you include  in the PUTFILE function, it will be ignored in FoxPro for Macintosh.

For example, suppose you run the following code in both FoxPro for Windows and FoxPro for Macintosh: ? PUTFILE('Choose a program file', 'test.prg', 'PRG') In FoxPro for Windows, this code will create a dialog box that displays all files with an extension of .PRG. In FoxPro for Macintosh, the same dialog box will display all files in the current folder without filtering them by extension.



STATUS
This behavior is by design due to the Macintosh standard of not relying on file extensions for operations.

