Copyfile

datatable
robot
activities
studio

#1

hello everybody,

please i need you’re help !

when i try to copy a file from directory to another it’s give me this erreur

“cannot find a part of the path”

N.B : i have to give a global path to the robot in orther to this one, works in other laptop.

thank you !


#2

Hi @ifranity,

your path should be a generic one, check that. or show it here with some format.


#3

hi,
from :
my path is : installationfolder + “\folder1” + variable

destination :
my path is : installationfolder + “\folder2” + variable


#4

okay, then before moving the file, just print/log the path. So that we will get to know what path it refers and when we are getting this error.


#5

you mean that i have to draw a flow decision
if true => messagebox
else copyfile

??


#6

No, use Log Activity - inside that log the (installationfolder + “\folder1” + variable).ToString for both paths


#7

same error unfortinutly


#8

check the file path available or not using that Log activity which I have mentioned in the previous post.