ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Moving File from one folder to another

VilasShitole11
5 - Atom

Hi All,

 

I am trying to move one file which is used as an Input to the workflow to be moved once workflow has run.  Accordingly, I have put command in the Event tab as 

"MOVE /Y "\\Input Folder\*.csv" "\\Input Folder\Archive"" and selected "After Run". But after running the workflow i am getting the below error msg "The system cannot find the file specified". Not sure where i am going wrong. 

 

Note: - The same command is working fine if I directly execute it from the command tab.

 

Can anybody help me resolve this issue.

 

 

 

 

 

 

1 REPLY 1
jrlindem
13 - Pulsar

I would recommend using the Run Command Tool if you want to use .bat syntax.  Here's an example using robocopy to move a file from one place to another.

jrlindem_0-1768589976398.png

You'll use the [cmd] field in your Run Command Tool to execute the command in .bat

Let me know if you need help with the Run Command tool.  You'll likely also use a Block Until Done to ensure your data or workflow completes before you attempt to move the file(s).

Hope that helps, -Jay

 

Labels
Top Solution Authors