DelFile

Prev Next Home Home Table Of Contents Index

DelFile (Name)

Deletes a file by name. FileResult returns a 0 if the file existed and the delete was successful.


Example:
DelFile( 'C:\NOTES\READ.ME' ) If FileResult = 0 Writeln('C:\NOTES\READ.ME was successfully deleted!') Else Writeln('C:\NOTES\READ.ME was NOT deleted successfully!') Endif

If the file system supports long names, wildcards can be passed.

Category: File LongName

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home