Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Creating folder from Server using Run Command Tool

CindyW_1
5 - Atom

Hello,

 

I have a workflow to create a folder on the shared drive using Run Command tool. But when I save it to the server, it does not work.

Can someone please to take a look at it? Please see below screenshots and also I have attached the workflow. 

 

CindyW_1_0-1674747447976.pngCindyW_1_1-1674747474595.png

CindyW_1_2-1674747497204.png

 

Thank you!!!

4 REPLIES 4
SPetrie
13 - Pulsar

Are you getting any errors?

Are you sure the account you are running the workflow as has the permissions to create a folder in that location?

Your batch is trying to make a folder in the C drive which is not usually considered a shared location and its trying to do it on the actual server which is probably locked down even further. Also, unless setup otherwise, your workflow will likely be running as the local account on the server which usually starts off with fewer permissions as well. 

 

I tested your flow on my gallery and it successfully created a folder on the C drive of the server using an account with permission to save in that location, so that part is actually working.

Hi @CindyW_1 

 

It's indeed creating the folder but in C. If you'd like to create it on the shared drive, make sure to update the paths to reflect the Shared drive UNC one.

As mentioned by @SPetrie , your server needs to have the proper access rights.

 

Cheers!

CindyW_1
5 - Atom

Thank you for your response!! I have updated the folder location and it is working. 

CindyW_1
5 - Atom

Thank you!! I have updated the folder path, and it is working.

Labels
Top Solution Authors