Microsoft KB Archive/130996

= PRB: "Save As" Directory Isn't the Same as Default Directory =

Article ID: 130996

Article Last Modified on 2/15/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q130996



SYMPTOMS
After choosing Save As from the File menu, the current directory listed in the Save As dialog box is not the same as the directory set previously by the SET DEFAULT command.



CAUSE
Visual FoxPro uses the current directory, not the default directory as its default for system-level functionality such as opening or saving files.

The SET DEFAULT command sets the directory that Visual FoxPro uses to look for data. It does not effect system-level functionality.



STATUS
This behavior is by design.



Steps to Reproduce Behavior
 Create a directory off the root of drive C: called TEMP. Start Visual FoxPro.  Enter the following commands, one at a time, in the Command window: SET DEFAULT TO C:\ CD \TEMP MODIFY COMMAND test.prg  In the empty window that comes up for TEST.PRG type:

This is a test.

 From the File Menu, choose Save As. Note that the currently selected "Save As" directory is C:\TEMP, not C:\ as set by the SET DEFAULT command.</li></ol>

Additional query words: VFoxWin

Keywords: KB130996

-

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

© Microsoft Corporation. All rights reserved.