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_getdir() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_GETDIR()

 DESCRIPTION

 C_GETDIR() obtains the current directory for a specified drive.  If
 the current directory is the root directory, a backslash ("\") is
 returned.

 SYNTAX

 C_GETDIR([drive])

 PARAMETERS

 drive (C/N) is the drive to return the current directory.  The
 drive can be specified as a letter (A, B, C, etc.) or as a drive
 number (1 = A, 2 = B, 3 = C, etc.).  If the drive argument is not
 specified, the current drive is used.

 RETURNS

 C_GETDIR() returns the current directory as a character string.  If
 the current directory is the root directory, a backslash ("\") is
 returned.

 EXAMPLES

 ? c_getdir(3)   --> \DOS       && Drive C:
 ? c_getdir("D") --> \TEST      && Drive D:
 ? c_getdir("A") --> \          && Drive A: - root directory


See Also: C_GETPATH() C_ISDIR() C_MKDIR() C_CHDIR() C_ZAPDIR()

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