| A statement that removes a disk file.
Syntax: KILL filespec KILL
"mydocuments.txt"
Details
Wildcards in KILL will not work, e.g., this statement won't execute: KILL "*.c"
Do this instead
' ------------
DefStr sFile = Dir$(YourPath & "*.c", 0)
While sFile <> ""
Kill sFile
sFile = Dir$
Wend
|
|