file

This command allows files to be loaded, created, deleted and modified in a number of ways, including the creation of sequential and pure binary files.
    DIR : DIR
    DRIVELIST : DRIVELIST
    SET DIR : SET DIR Path$
    MAKE FILE : MAKE FILE Filename
    MAKE DIRECTORY : MAKE DIRECTORY Directory Name
    DELETE FILE : DELETE FILE Filename
    DELETE DIRECTORY : DELETE DIRECTORY Directory Name
    COPY FILE : COPY FILE Source Filename, Destination Filename
    MOVE FILE : MOVE FILE Source Filename, Destination Filename
    RENAME FILE : RENAME FILE Source Filename, New Filename
    EXECUTE FILE : EXECUTE FILE Filename, Commandline, Directory
    FIND FIRST : FIND FIRST
    FIND NEXT : FIND NEXT
    CD : CD Path$

    OPEN TO READ : OPEN TO READ File Number, Filename
    OPEN TO WRITE : OPEN TO WRITE File Number, Filename
    CLOSE FILE : CLOSE FILE File Number
    READ BYTE : READ BYTE File Number, Variable
    READ FILE : READ FILE File Number, Variable
    READ DIRBLOCK : READ DIRBLOCK File Number, Folder to Read
    READ FILEBLOCK : READ FILEBLOCK File Number, Filename to Read
    READ FLOAT : READ FLOAT File Number, Variable
    READ LONG : READ LONG File Number, Variable
    READ MEMBLOCK : READ MEMBLOCK File Number, Memblock Number
    READ STRING : READ STRING File Number, Variable String
    READ WORD : READ WORD File Number, Variable
    WRITE WORD : WRITE WORD File Number, Variable
    WRITE BYTE : WRITE BYTE File Number, Variable
    WRITE LONG : WRITE LONG File Number, Variable
    WRITE DIRBLOCK : WRITE DIRBLOCK File Number, Folder to Create
    WRITE FILEBLOCK : WRITE FILEBLOCK File Number, Filename to Create
    WRITE FLOAT : WRITE FLOAT File Number, Variable
    WRITE FILE : WRITE FILE File Number, Variable
    WRITE MEMBLOCK : WRITE MEMBLOCK File Number, Memblock Number
    WRITE STRING : WRITE STRING File Number, String
    SKIP BYTES : SKIP BYTES File Number, Bytes To Skip
    WRITE BYTE TO FILE : WRITE BYTE TO FILE Filename, Position, ByteValue
    READ BYTE FROM FILE : Return Integer=READ BYTE FROM FILE(Filename, Position)

    PERFORM CHECKLIST FOR DRIVES : PERFORM CHECKLIST FOR DRIVES
    PERFORM CHECKLIST FOR FILES : PERFORM CHECKLIST FOR FILES
    MAKE MEMBLOCK FROM FILE : MAKE MEMBLOCK FROM FILE Memblock Number, File Number
    MAKE FILE FROM MEMBLOCK : MAKE FILE FROM MEMBLOCK File Number, Memblock Number

    FILE EXIST : Return Integer=FILE EXIST(Filename)
    PATH EXIST : Return Integer=PATH EXIST(Path String)
    GET DIR$ : Return String=GET DIR$()
    APPNAME$ : Return String=APPNAME$()
    WINDIR$ : Return String=WINDIR$()
    MYDOCDIR$ : Return String=MYDOCDIR$()

    FILE END : Return Integer=FILE END(File Number)
    FILE OPEN : Return Integer=FILE OPEN(File Number)
    FILE SIZE : Return Integer=FILE SIZE(Filename)
    GET FILE DATE$ : Return String=GET FILE DATE$()
    GET FILE NAME$ : Return String=GET FILE NAME$()
    GET FILE TYPE : Return Integer=GET FILE TYPE()
    GET FILE CREATION$ : Return String=GET FILE CREATION$()
    CAN MAKE FILE : Return Integer=CAN MAKE FILE(Filename)

    EXECUTABLE RUNNING : Return Integer=EXECUTABLE RUNNING(Executable ID)
    EXECUTE EXECUTABLE : Return DWORD=EXECUTE EXECUTABLE(Filename, Commandline, Directory)
    STOP EXECUTABLE : STOP EXECUTABLE Executable ID

    WRITE FILEMAP STRING : WRITE FILEMAP STRING Filemap Name, String
    WRITE FILEMAP VALUE : WRITE FILEMAP VALUE Filemap Name, Value
    READ FILEMAP STRING : Return String=READ FILEMAP STRING(String Value)
    READ FILEMAP VALUE : Return DWORD=READ FILEMAP VALUE(Filemap Name)