LibraryEASYProcess Reference ManualProcessesServicesFileSystemWorkshopDeleteDirectory

DeleteDirectory Overview

DeleteDirectory service is used to delete the specified directory. The service will look for the path on application server, unless you specify the target server name or IP address in the directory path.

DeleteDirectory Use Examples
DirectoryNameThe full path of the directory that you want to delete. For example: C:\dir1\dir2

RecursiveYes - all the content inside the directory will be deleted including files, sub-directories, and files inside sub-directories. No - only the specified directory will be deleted. However, if directory is not empty, the service will end in error.

DeletedReturns True/False depending on whether or not the directory was deleted successfully

DeleteDirectory Use Examples

Basic DeleteDirectory Use

This is an example where we delete an existing directory.

Powered by EASYProcess (© 2022 K-Rise Systems, Inc).