| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Returns the current directory.
DirName() --> cDirectory
The function returns the name of the current directory as a character string. The string does not include a drive letter.
| See also: | CurDir(), DirChange(), DirMake(), DirRemove() |
| Category: | CT:DiskUtil , Directory functions , Disks and Drives |
| Source: | ct\disk.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com