delete. Deleting file from disk

^file:delete[path]

Deletes specified file.
path-path and name of file

If the directory is found empty after a file is deleted, the directory will also be deleted (if possible).

Example

^file:delete[story.txt]


Copyright © 1997–2010 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 20.09.2007