qb45advr.hlp (
Topic list)
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.