Folder path copy. but exception files....error

I want folder path copy. exception files…but error pleaze…
exception file_copy folder.xaml (10.7 KB)

Hi,

Can you try to remove FolderPath In as the following?

image

Regards,

Then this code is not copied to the subfolders of the folder. Is there a way?

HI,

Can you share what you want to achieve?

At least, as FolderPath is overwritten by the assign activity, it will be fixed value every time.
How about to remove this Assign?

image

Regards,

This is ChatGpt’s answer

my request is
Copy the folder from “AAA folder” to “BBB folder” in UiPath.
Please tell me the code that copies only folders and not files.
Also, I would like to copy including all subfolders under the “AAA folder”.

Hi,

How about the following?

exception file_copy folder.xaml (10.4 KB)

Regards,

solved. very thank.

I think this method can solve the entire process of copying files…
What should I do if I want to copy files using this method?

Hi,

If you need to copy all the files and folders in the src folder, simply the following will work.

image

Regards,

very thanks…but… I want…

I would like to copy the files in the “AAA folder” (including all subfolders) from UiPath to the same location as the “BBB folder”.
The folder and folder name in the “AAA folder” are the same in the “BBB folder”.
I want to place only the files (including all sub-files) in the “AAA folder” in the “BBB folder” with the same folder name.

condition

  1. If a file was newly added today, I would like to copy it to the same location in the BBB folder.
  2. I would like to check the modification date of the file and, if it was modified today, copy it to the same location in the BBB folder.

Please HELP…

HI,

How about the following?

Sequence.xaml (10.3 KB)

Note: Please create folder in advance using the above exception file_copy folder.xaml.

Regards,

1 Like

very very all my thanks to you

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.