PRB: Drive/Directory Not Found When Searching Text RegionID: Q120029 The information in this article applies to:
SYMPTOMSWhen you are searching in a text editing region for a drive letter and a directory name (for example, C:\FOXPROW), the string is not found, even though it is present. However, searching for the drive letter alone is successful.
CAUSEFoxPro considers the first backslash an escape sequence. This is similar to the syntax used in the C programming language.
RESOLUTIONSearch for the drive letter "C" and replace it with the letter "X," or search for C:\\FOXPROW.
STATUSThis behavior is by design. We will post new information here as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem1. Type MODIFY FILE Test.txt in the Command window and press ENTER. 2. Type "C:\FOXPROW" (without the quotation marks) in the text editing 3. From the Edit menu, choose Find.
4. In the Look For box, type "C:\FOXPROW". 5. In the Replace With box, type "X:\FOXPROW" and select the Match Whole 6. Choose Find. "Not Found" will appear in the status bar, even though
For more information on searching for special characters, please see
the following article in the Microsoft Knowledge Base:
Additional reference words: FoxWin FoxDos 2.50 2.50a 2.50b 2.50c 2.50x 2.60
2.60a
KBCategory: kbprg kbprb
KBSubcategory: FxprgGeneral
|
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |