File Functions

scop.file.canopen(filename)

Checks if a file can be opened. If the file is locked, returns false
returns: boolean

scop.file.copy(source,dest)

Copies a file to a new file

scop.file.delete(filename)

Deletes a file

scop.file.exec(filename)

Executes a file

scop.file.exechide(filename)

Executes a file in hidden state

scop.file.exists(filename)

Checks if a file exists
returns: boolean

scop.file.getcontents(filename)

Loads a string from a local file
returns: string

scop.file.getext(filename)

Gets the extension part of a filename
returns: string

scop.file.getname(filename)

Gets the name and extension part of a filename
returns: string