[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
_fsCurDir()
Return a name of the current directory
------------------------------------------------------------------------------
C Prototype
#include "filesys.api"
BYTEP _fsCurDir(
USHORT uiDrive
)
Arguments
uiDrive is the number of the disk drive to check, where 0 = current
drive, 1 = A, 2 = B, 3 = C, etc.
Returns
_fsCurDir() returns a name of the current directory. If an error
occurs, or the current directory of the specified drive is the root
directory, _fsCurDir() returns a null string ("").
Description
This function gets a name of the current directory on a specified disk
drive.
Examples
. The following code fragment illustrates the use of
_fsCurDir():
#include "filesys.api"
.
.
.
BYTEP cDir;
cDir = _fsCurDir( 0 ) // Checks the current drive
Files Library is CLIPPER.LIB, header file is Filesys.api.
See Also:
_fsError()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson