CURDIR
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgCurdir
- Last revised: 2016-04-01
Returns the current directory/folder
Syntax
` declare function Curdir ( ) as string
`
Usage
` result = Curdir
`
Return Value
A string which is set to the name of the current directory/folder.
Description
Returns the current directory/folder.
Examples
start GeSHi
vb
Print CurDirend GeSHi
output will vary.
Dialect Differences
- Not available in the -lang qb dialect unless referenced with the alias
__Curdir.
Differences from QB
- New to FreeBASIC
See also
OpenDirChdirMkdirRmdir
Back to DocToc