lide.file

[lide.base] ^1.0

This module is loaded with lide.base it’s part of framework into the lide.file module we will find the necessary functions to files handling implemented in Lua.

local file = lide.file
file.copy('C:\\file', 'D:\\file');

file.remove

Deletes a file in the system.
nil file.remove ( string sFilePath )

file.open

Open the given filename.
File_ file.open ( string sFilePath )

file.exists

Determine if the given file exists.
boolean_ file.exists ( string sFilePath )