Eyeon:Script/Reference/Libraries/os/remove
From VFXPedia
< Eyeon:Script | Reference | Libraries | os
Contents |
OS : os.remove
Arguments
os.remove( filename )
- filename (optional, string)
A path to a file..
Returns
If this function fails it will return nil, plus a string which describes the error.
Remarks
This function will delete the file specified by the filename argument, if it exists.
Requirements
- eyeonScript 5.0
- Fusion 5.0
Examples
result, errormsg = os.remove(arg[1]) if result == nil then
print(errormsg)
else
print("Deleted file ".. arg[1])
end