qb45advr.hlp (Topic list)
KILL Statement Details
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
KILL Statement Details
 
Syntax
  KILL filespec
 
The KILL statement is similar to the DOS ERASE or DEL commands.
 
KILL is used for all types of disk files: program files, random
data files, and sequential data files. The filespec may contain
question marks (?) or asterisks (*) used as wild cards. A question
mark matches any single character in the file name or extension. An
asterisk matches one or more characters starting at its position.
 
You can use KILL only to delete files. To delete directories,
use the RMDIR command. Using KILL to delete a file that is currently
open produces an error message that reads "File already open."
 
                           ----- Warning -----
Be extremely careful when using wild cards with KILL. You can delete
files unintentionally with the wild card characters.
                           -------------------