ExePath
Returns the path of the running program
result = ExePath
Syntax
Usage
result = ExePath
Return Value
Description
Example
Dim pathname As String = ExePath
Print "This program's initial directory is: " & pathname
Print "This program's initial directory is: " & pathname
Dialect Differences
- Not available in the -lang qb dialect unless referenced with the alias __Exepath.
Differences from QB
- New to FreeBASIC
See also