|
DeleteDir | ||
DeleteDir FolderName$ | ||
Parameters: FolderName$ = The Folder name of the directory you wish to delete |
||
Returns: NONE | ||
DeleteDir will remove a directory. FACTS: * DeleteDir does NOT recursively delete any sub directories within the directory your deleting. * Before using DeleteDir, always check if the FolderName actually exists. As deleting a none existent directory will cause PB to return a run time error. 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: | DeleteFile | FolderExist : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |