MS JScript JavaScript Tutorial

Syntax

filesystemobject.DeleteFile(filename, force)
The DeleteFile() method deletes an existing file.
filename is a string specifying the file name.
force is a Boolean value indicating whether to delete a file with read only permissions.


    
    
    
    
    Delete Text file "testing.txt"