File.fullpath readonly property



The File.fullpath property returns a string representing the full path of the File. The fullpath is set during the call to the File constructor, relative to the current working directory at this time.

Example

local file = sys.File("doc\\test.txt") -- outputs the fullpath, for example "C:\\luart\\doc\\test.txt" print("file.fullpath: "..file.fullpath)