The information in this article applies to:
SUMMARYThis article describes how to use a new Foxtools function that returns the file name portion of a complete path and file name and preserves the case of the letters in the file name. It is called the JustCSName() function. MORE INFORMATION
JustCSName() returns the file name portion of a complete path and file name
while preserving the case of the letters in the file name as they appear in
the Macintosh Finder.
JustCSName(cFilename)where cFilename Specifies the name (including path) of the file for which you want only the case-sensitive name. JustCSName returns a character string. The JustCSName function is similar to the JustFName() function already documented in Foxtools.hlp. The Foxtools.hlp file documents other Foxtools.cfm (or Foxtools.slm) functions. It is located in the Microsoft Visual FoxPro:Tools folder. Step-by-Step ExampleIn the Visual FoxPro Command window, type in the following commands to see how JustCSName() works in relation to JustFName() and the GETFILE() functions. The Visual FoxPro screen should be visible so the results of the ? commands are visible:
Additional query words: VFoxMac
Keywords : FxprgFoxtools |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |