Help Center›FreeBASIC
CurDirfunction
Returns the current directory/folder
Syntax
Declare Function CurDir ( ) As String
Return value
A
String which is set to the name of the current directory/folder.Description
Returns the current directory/folder.
Remarks
Usage
result = CurDir
Dialect Differences
- Not available in the -lang qb dialect unless referenced with the alias
__Curdir.
Differences from QB
- New to FreeBASIC
See also
Example
Print CurDir
output will vary.
Reference
- Documented in KeyPgCurdir.html