Delete a file in bin/data/folder

what is the instruction to delete a file in bin/data/somefolder via code?
and move a file to another folder?
thank you

use remove c++ for deleting a file:

for moving a file can use “ofFile” to open the original file and write it into a new file that points to another location on the filesystem:

Good day

1 Like

Actually you can also remove a file with ofFile:


fine, thank you