how to move a folder into another folder.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, I am trying to move a folder(test1) which contains xslx and subfolders into another folder (results) using an alteryx workflow. Tried using the run command tool but only managed to extract out the xlsx files but not the sub folders. How should i go about doing this, or is this even possible?
- Labels:
- Dynamic Processing
- Run Command
- Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I used this which only extracted the xlsx files but not the subfolders.
 
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, @helpmepls
What code used in your Command tool , like cmd or PowerShell ?
If you use cmd, maybe can try the function Robocopy /MOVE to get your want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I am new to alteryx and just followed the discussion linked above and tried to run the workflow
 what do u mean by robocopy /MOVE , can u give me an example? thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, @helpmepls
In your code of bat file, you may need to use robocopy /move instead of the move command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
So i change the bat file and not the interface of this run command tool?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
sry but i also cannot find the bat file/ open it...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, @helpmepls
You can assign the path of your bat file, the code of bat like 'robocopy "c:\123" "d:\abc" /MOVE /E' , then it can be move all file and sub-folders from c:\123 to d:\abc folder,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
how do i change the path of my bat file? the post i referred to mentioned that the bat file is created on the fly by the formula tool
