Can anyone help me with the following? I am trying to use a For Each and a Move File to move files from one folder to another. I am also using Assign as the From Path & Destination Path in the Move File Activity will need to be a variable. I am getting a compiler error (see below). The variables I am using in the Assign activity’s are of type String Array and the argument type in the For Each is set to Object
Thanks for the reply - the problem is my folder path is stored in a variable becuase it will change each time I run the process. So I can’t use a hard-coded folder path
Thanks for the reply @jothyprasanth.m but again my folder path is stored in a variable because it will change each time I run the process. That was my original question
Use this below vb.net code to move your files in Invoke Code Activity,
My.Computer.FileSystem.MoveFile(“SourcePath”,“DestinationPath”).
DestinationPath Should have file name like xyz.xlsx.