Agent Procedures - deleteDirectory with "recursively delete" option fails on agents with Italian Windows installation

PROBLEM

When running an Agent Procedure with the deleteDirectory step and with the recursively delete option selected for a directory which contains sub-directories, the procedure will always fail on agents with Italian language Windows installation.

RESOLUTION

The following workaround is available for this problem.

Replace the deleteDirectory step with ExecuteShellCommand and call the following command to delete the folder:

rd /s /q "x:\folder"

NOTE: Replace x:\folder with the actual folder path to be deleted.

This article will be updated when a permanent solution is available.

APPLIES TO

All versions

Have more questions?

Contact us

Was this article helpful?
1 out of 2 found this helpful

Provide feedback for the Documentation team!

Browse this section