MoveDirectory Use Example
Basic MoveDirectory Use
In this example, we have one folder and two files under D:\TestDirectory\File. We want to move the directory to D:\TestDirectory_new\File. Currently, there is no subdirectory under D:\TestDirectory_new.
The service takes the following input. Service returns ‘True’ since it runs successfully, and you can see the directory has been moved.
If the directory in ‘ToDirectory’ field exists, service will throw the following exception.