Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
StaidLogic LLC
IN
Last activity: 21 Feb 2019 1:26 EST
Move a files from one folder to another folder
Hello,
My requirements is how to move the file from one folder to another folder?
Thanks,
Niharika
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
RPA/RDA Practitioner
US
Another alternative way is to add the System.IO.File.Move component to the toolbox.
Right click on the toolbox and select 'Choose Items...'
Choose > Pega Robotics Static Members tab, From Global Assembly Cache radio, mscorlib,Version= Proprietary information hidden from the Assembly dropdown, Expand File, and check Move> then click OK
Drag File.Move from the toolbox.
See image for example
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
RPA/RDA Practitioner
US
With release 8.0.1078 and higher you can add the 'fileUtils' component from the toolbox and use the 'MoveFile' method from Object Explorer.
See image example
Also see fileUtils mentioned in post here: https://collaborate.pega.com/discussion/ask-expert-robotics-jeff-badger-and-thomas-sasnett
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
StaidLogic LLC
IN
Move file is not working is there any other way to move the folder ?(file Utils)
As the flow is going false condition.
Please find the screen shot attached.
Accepted Solution
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
RPA/RDA Practitioner
US
Another alternative way is to add the System.IO.File.Move component to the toolbox.
Right click on the toolbox and select 'Choose Items...'
Choose > Pega Robotics Static Members tab, From Global Assembly Cache radio, mscorlib,Version= Proprietary information hidden from the Assembly dropdown, Expand File, and check Move> then click OK
Drag File.Move from the toolbox.
See image for example
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
StaidLogic LLC
IN
Thank You!!!
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Infosys
IN
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
StaidLogic LLC
IN
Thank You!
-
Bhargav Pokala