Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

move files from one folder to other folder in network drive.

sparkle
7 - Meteor

HI Team,
I am exploring moving files (cut paste) functionality in Alteryx using Run command tool. and I successfully  moved files one folder to another folder. But when i am trying to achieve this on network drive, files are getting deleted from source folder but not moving to destination folder.
Can someone help how can we achieve moving files on network drive.

 

I have used same below workflow as reference just changed file paths.

11 REPLIES 11
KGT
13 - Pulsar

Looks fine, and so unless it's some funky thing with the MOVE command (I didn't think that was an issue, but seem to remember having to use XCOPY years ago).

 

Check whether they are mapped drives.

I'm assuming this is on your desktop, that the running user is not going to be an issue.

Can you perform the move in File Explorer?

WirkKarl
7 - Meteor

I’ve run into this before—network drives can behave differently than local folders because of permissions and network latency. Make sure the account running the Alteryx workflow has write permissions on the destination folder. Sometimes adding a small delay before the move command helps, especially if the network is busy.

sparkle
7 - Meteor

HI @WirkKarl ,

 

Can you please guide, how to check these write permissions in Alteryx. 

sparkle
7 - Meteor

HI @KGT 

 

If I get any sample workflow, it would be great help.

 

OllieClarke
16 - Nebula
16 - Nebula

@sparkle 
I think the issue will be the directory/drive you're running the command from.

As you're writing your .bat script to your temp drive, see if you can run a copy file (rather than move) command from the command line?

In windows explorer, type "%temp% into the address bar to navigate to your temp drive.

Then write "cmd" into the address bar and hit enter to open commandline from that location
image.png

Then take, say the first row of your [Command] column, change "Move" to "Copy" (so you don't lose the original file) and see if that command will run from the temp location.

If it does, then try with "Move" rather than "Copy"

sparkle
7 - Meteor

HI @OllieClarke.

Thank you for your comments.

Can you please configure run command tool for me. I have tried to change location, but no success. Please note, below are the location details and workflow for moving files.

Input location : \\pu-cdot02-corp01\home\mamtal\microtesting\IP

output location: \\pu-cdot02-corp01\home\mamtal\microtesting\Archived

OllieClarke
16 - Nebula
16 - Nebula

Hi @sparkle 

Your run command tool looks to be set up correctly for your current command, but we don't know if that command works from the temp drive or not.
Can you go through the steps I outlined in my previous comment and let us know what happened?

sparkle
7 - Meteor

HI @OllieClarke 

 

I tried to open cmd from Temp folder and tried with copy command, but it shows error  "The system cannot find the file specified". 

Please see my command: copy "\\pu-cdot02-corp01\home\mamtal\microtesting\IP\Micro_Center_MIC_INV-2025-09-21.xlsx" "\\pu-cdot02-corp01\home\mamtal\microtesting\IP\Archived"

 

sparkle_0-1758614694520.png

 

KGT
13 - Pulsar

I would say that probably holds your answer then. Some kind of permission etc, as that command should work if you have access.

 

Try navigating to the file in cmd and investigate why it can't find that file. If the command won't work when running it in cmd, it won't work in the Run Command.

 

So, your option is to either get the command working from there, or change the location of the bat file to somewhere it does work, such as on that drive. That does make it somewhat less dynamic though.

 

Try changing "%temp%\RunCommand.bat" to "\\pu-cdot02-corp01\home\mamtal\microtesting\IP\RunCommand.bat". That may not be best going forward, but it'll help you to find this issue.

Labels
Top Solution Authors