FIX: SET DEFAULT TO .. Causes "Invalid Path or Filename"ID: Q104796 2.50 WINDOWS The information in this article applies to:
SYMPTOMSIssuing the SET DEFAULT TO .. command when the current directory is one level below the root directory causes an "Invalid path or filename" error message. STATUSMicrosoft has confirmed this to be a problem in FoxPro 2.5 for Windows. This problem was corrected in FoxPro 2.5a for Windows. MORE INFORMATIONSteps to Reproduce ProblemAssuming FoxPro is installed in a directory named FOXPROW on drive C, issue the following code in the Command window: SET DEFAULT TO C:\FOXPROW\SAMPLE ? CURDIR() && (Current directory is C:\FOXPROW\SAMPLE) SET DEFAULT TO .. ? CURDIR() && (Current directory is C:\FOXPROW) SET DEFAULT TO .. After the last SET DEFAULT TO .. command, FoxPro displays an "Invalid path or filename" error message, even though the current directory should be the root directory. Additional reference words: FoxWin 2.50 buglist2.50 fixlist2.50a errmsg err msg parent KBCategory: KBSubcategory: FxprgGeneral Keywords : kberrmsg FxprgGeneral Version : 2.50 Platform : WINDOWS Solution Type : kbfix |
Last Reviewed: May 22, 1998 |