PRB: Can't SET DEFAULT TO Hidden Directories
ID: Q107606
|
2.5x 2.60
WINDOWS
kbprg kbenv kbprb
--------------------------------------------------------------------
The information in this article applies to:
- Microsoft FoxPro for Windows, versions 2.50x, 2.6
--------------------------------------------------------------------
SYMPTOMS
=======
When attempting to SET DEFAULT to a hidden directory, the following
error is displayed:
Invalid path or filename
CAUSE
=====
While a hidden directory is not visible at the MS-DOS level using the MS-
DOS DIR (directory) command, it is still possible to change directory (CD)
to that hidden directory. Furthermore, when the same command is issued from
the Command Window of Microsoft FoxPro for MS-DOS 2.0 and 2.5, the above
error does not occur.
WORKAROUND
==========
It is still possible to access tables and other files residing within
a hidden directory without generating an error. Use full pathnames
when referencing objects in hidden directories. For example, the
following code will open a table "customer.dbf" which resides in the
hidden directory "c:\hideseek":
USE C:\HIDESEEK\CUSTOMER
STATUS
======
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
================
For more information about changing the attributes of a directory in
MS-DOS, see the ATTRIB command in your MS-DOS User’s Guide.
Steps to Reproduce Behavior
---------------------------
1. Make a subdirectory named HIDESEEK. At a DOS prompt the following
command could be used:
MKDIR C:\HIDESEEK
2. Hide the subdirectory. The following command can be used to hide a
subdirectory named HIDESEEK on the logical C drive:
ATTRIB +H C:\HIDESEEK
3. Start FoxPro for Windows.
4. In the Command Window type the following:
SET DEFAULT TO C:\HIDESEEK
Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60
KBCategory: kbprg kbenv kbprb
KBSubcategory: FxprgGeneral
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: June 27, 1995