In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Run Command Tool - Windows Power shell script

nmccarthy
6 - Meteoroid

I am trying to run a powershell command that deletes empty folders from a specified file path. Is there a way to make the filepath an input for the powershell script so I can easily switch between file paths?

1 REPLY 1
seinchyiwoo
Alteryx Alumni (Retired)

Yes you can by building an app and use a Folder Browse Interface tool.

I have a sample workflow that does that - attached.

seinchyiwoo_1-1608085517428.png

 

It's a workflow with a batch macro that encapsulate my command line in resaving a bunch of excels.

By adding a Folder Browse tool to my Directory tool in the workflow, it will be prompted as an app for use to pick their directory.

seinchyiwoo_0-1608085505583.png

 

Is this similar to what you are looking for?

 

Best,

Seinchyi

Labels
Top Solution Authors