DELDIR Delete an empty local folder |
Top Previous Next |
This script command deletes a local folder. Consider the following example in which a folder is deleted on the E: drive.
DELDIR "e:\newbie"
To delete a directory on an FTP site, use the FTPDELETE script command. Use the DELETE command to delete a local file.
After any files have been deleted, the %deletefiles internal script variable is automatically populated with the filenames of all such files.
Related command(s): MAKEDIR, WORKINGDIR, LISTDIR, Using the %deletefiles and %ftpdeletefiles Variables
|