|  | 
 | ||||
|        | |||||
|  | ||||||
| Related Syntax | Other Library Functions | |||||
| function | vfs.delete-file | 
| Library: File system utilities (OMVFS) Import: omvfs.xmd | 
export external function delete-file
                value string filename
        on      value directory on-dir optional
Argument definitions
You can use vfs.delete-file to delete a file.
  import "omvfs.xmd" prefixed by vfs.
  process
    vfs.delete-file "c:\temp\myfile.txt"
    vfs.delete-file "hello.xml"
The specified file must exist or exception VFS306 is thrown.
The following exceptions may occur:
Copyright © Stilo International plc, 1988-2008.