Srinivas Chandrakanth Vangari

How to delete a folder in local directory.

Discussion created by Srinivas Chandrakanth Vangari on Jul 15, 2016
Latest reply on Aug 22, 2016 by Srinivas Chandrakanth Vangari

Hi Folks,

We may have come across deletion of files in a directory and by using disk connector we can achieve it successfully.

I got a requirement to delete a folder from a location.

Solution: Here are my two workarounds.

  1. By using Data Process shape - Custom Groovy script
  2. PC Shape and by giving system command in it

Syntax for the command: RD/S/Q"C:\Users\Srini\Desktop\NewFolder"

Hope you will come across this use-case.

Thanks,

Srini.

Outcomes