qbasic.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
KILL Statement
  Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
Deletes files from disk.
 
KILL filespec$
 
    ■ filespec$    Identifies the file or files to delete. It may include
                   a path and the DOS wildcard characters ? and *.
 
Example:
    INPUT "File to delete: "; f$
    KILL f$
 
See Also    FILES