DELDIR Delete an empty local folder
<< Click to Display Table of Contents >> Navigation: Robo-FTP User's Guide > Script Programming > Script Commands > All Script Commands > DELDIR Delete an empty local folder |
Syntax: |
DELDIR |
[ folder name ] |
Arguments: |
[ folder name ] |
Variable or string defining the local folder name to delete. |
Options: |
/recursive |
Delete contents of a folder before trying to delete it. |
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