* *
* * News
 • Daily news
 • Archived news

 • WildCard
 • Qbasic Articles
 • QB Comic!

Learning center
 • QB Books
 • Qbasic Lessons!
 • Qbasic FAQ
 • Newbies Section
 • Qbasic Tutorials

* *
.KILL Statement Details.

  QuickSCREEN      Details      Example      Contents      Index
KILL Statement Details
  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.
* * ** * * * *