|
DeleteFile | ||
DeleteFile Filename$ | ||
Parameters: Filename$ = The Filename of the file you wish to delete |
||
Returns: NONE | ||
DeleteFile will delete a file. FACTS: * Before using DeleteFile, always check if the file exists, as PB will return a run time error, if you attempt to delete something that doesn't exist. Mini Tutorial: This example will create a blank file on the C: Drive called "TestFile.txt" , it then displays the info about this file and then removes itself.
This example would output.
|
Related Info: | DeleteDir | FileExist | FileType | WriteFile : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |