DELDIR        Delete an empty local folder

Top  Previous  Next

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.

 

 

Related command(s): CHGDIR, MAKEDIR, WORKINGDIR, LISTDIR