File info

Blitz3D Forums/Blitz3D Beginners Area/File info

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

FileSize(file$) gets the size of the file "file".
ReadDir(path$) opens a directory so that you can use NextFile(dir) to read out the files of the directory.
MoreFiles(dir) returns True if there are more files in directory "dir" that can be read with nextfile().
FileType(file) returns "0" if it doesn't extist and you can check if a file read with NextFile() is a dir or a file. In case its a file filetype() returns "1", if it is a dir "2" is returned. this dir can then be read with ReadDir()...

Raitsun