qb45advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
RMDIR Statement Programming Example
  QuickSCREEN      Details     Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
RMDIR Statement Programming Example
 
This example shows how to use RMDIR to remove a subdirectory.
 
                           ----- Note -----
Do not run this example unless you have a TEMP subdirectory in a directory
SALES, and you want to remove that subdirectory.
                           ----------------
 
CHDIR "C:SALESTEMP"     'Move to TEMP subdirectory in SALES.
KILL "*.*"                'Remove all files in TEMP.
CHDIR ".."                'Move back up to SALES.
RMDIR "TEMP"              'Remove TEMP subdirectory.