Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_pathname() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_PATHNAME()

 DESCRIPTION

 C_PATHNAME() extracts the path name from the specified string
 containing a path and file name.  The complete path name including
 drive, if given, is extracted from the path.

 SYNTAX

 C_PATHNAME(path)

 PARAMETERS

 path (C) is the full name of the path to extract only the path
 name.  The path can be any length and can include a drive letter.

 RETURNS

 C_PATHNAME() returns the complete path name including drive letter,
 if available, from the specified path string.

 EXAMPLES

 c_pathname("c:\path\tmp\test.txt") --> c:\path\tmp\
 c_pathname("c:\tmp\test.txt")      --> c:\tmp\
 c_pathname("c:\test.txt")          --> c:\
 c_pathname("c:test.txt")           --> c:
 c_pathname("test.txt")             -->
 c_pathname("c:\tmp\*.*")           --> c:\tmp\


See Also: C_FILENAME() C_FILESPEC()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson