'' examples/manual/system/exepath.bas
''
'' Example extracted from the FreeBASIC Manual
'' from topic 'EXEPATH'
''
'' See Also: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgExepath
'' --------

Dim pathname As String = ExePath
Print "This program's initial directory is: " & pathname
