Moving file from one folder to another using C#

  • Hi all,

    I have 2 source folder .

    I have created variable for both source folder like below

    User::Source1 and User::Source2

    and 1 destination folder variable like below

    User::Destination

    Now I have to search a file from both source folder which consist of *location_*.xml string in file name.

    I have to use C# Script task ,

    Could you please help me to achieve above scenario as I required it on very urgent basis.

    Thanks in Advance

  • vipin_jha123 (9/11/2015)


    Hi all,

    I have 2 source folder .

    I have created variable for both source folder like below

    User::Source1 and User::Source2

    and 1 destination folder variable like below

    User::Destination

    Now I have to search a file from both source folder which consist of *location_*.xml string in file name.

    I have to use C# Script task ,

    Could you please help me to achieve above scenario as I required it on very urgent basis.

    Thanks in Advance

    Once again, a very Google-friendly question. Do you have issues using search tools that you need to tell us about?

    My very first search revealed this, which would seem to do what you need. In future, please take the time to demonstrate that you have at least tried to solve your problems. I will be avoiding all of your future posts unless I see evidence of this.

    The absence of evidence is not evidence of absence.
    Martin Rees

    You can lead a horse to water, but a pencil must be lead.
    Stan Laurel

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply