DarkBASIC Professional Help Wiki
Advertisement


This command will get the absolute path of the current working directory.

Syntax
Return String=GET DIR$()
Returns

The absolute path of the current working directory

Description

Absolute paths contain the entire path including the drive letter.

Example Code
cls

print "current dir= "+get dir$()

do

loop

end
Advertisement