Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

How do I develop a run command tool to delete subfolders

brunosa
7 - Meteor

Hi,

 

I have a workflow that currently has a step of deleting files from a directory once it runs. Now, I want to create an additional step that will also delete subdirectories from this directory. Example, directory is SP then I have subdirectory SP/Daily how do I develop the run command tool to delete all the subdirectory.

 

Thanks!

2 REPLIES 2
Raj
16 - Nebula

@brunosa 
find the workflow attached
mark done if solved.

Raj
16 - Nebula

@brunosa  use command
rmdir /S /Q "C:\Users\SSC\OneDrive\Desktop\folder name"

Labels
Top Solution Authors