Start Free Trial

Alteryx Designer Desktop Discussions

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

Run Command - Copy Files

Jo-B
8 - Asteroid

Dear all, 

I am struggling with the issue of copying a xlsm file from one network drive location to another one. 

 

I was following the instruction of the this post, which are fine if I am using local folders on C: https://tarsolutions.co.uk/blog/move-or-copy-files-in-alteryx/

 

 

However if I am using UNC paths I am facing here troubles. If I am entering the statement from my bat-file into the windows cmd programs it runs without any issues:

JoB_2-1646220005414.png

 

 

I treid it with this macro, which is working only in the designer but not on the Gallery. 

https://github.com/bobpeers/Alteryx_SDK_FileCopyMove

 

JoB_0-1646219807650.png

JoB_1-1646219842193.png

 

I highly appreciate if you can help me with my issue! 

 

Many thanks! 

Johanna

3 REPLIES 3
Luke_C
17 - Castor
17 - Castor

Hi @Jo-B 

 

Does Alteryx server have the necessary permissions to the folders as well as to execute these commands? You may need to reach out to your admin.

TheOC
16 - Nebula
16 - Nebula

hey @Jo-B 

Just on the same lines as @Luke_C , i would recommend setting up another interface tool (like a dropdown list, theres an example workflow with exactly what you need) with the options deriving from a file on the network drive too. This will help isolate whether this is an issue with the network drive or specific tool.

Cheers,
TheOC

Cheers,
TheOC
Connect with me:
LinkedIn Bulien
Jay-RDC
8 - Asteroid

Do you have a list commands for the run command tool. (e.g. Copy, move, replace etc.)

Labels
Top Solution Authors