LATEST UPDATES
ShareHolder Finder v0.9.3 is now released!!! Check Product Page for more details.
✉ info@automationdevelopers.com

ITS ALL ABOUT AUTOMATION

AutoIt - Delete File

Related Tutorials

FileDelete


Delete one or more files.

FileDelete ( "filename" )

Parameters

Filename The path of the file(s) to delete. (* and ? wildcards accepted - See Remarks)

Return Value

Success: 1.
Failure: 0 if files are not deleted or do not exist.

Remarks

See FileFindFirstFile() for a discussion about wildcards.

Note: If the "path" passed to FileDelete() is a folder, the files therein will be deleted just as if you had used the *.* mask.

Some file attributes can make the deletion impossible, if this is the case look at FileSetAttrib() to change the attributes of a file.

Related


Related Tutorials


Post a Comment