Announcement

Collapse
No announcement yet.

One (1) file to multiples folder How?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • One (1) file to multiples folder How?

    How can I copy One file to severals folders, two at lest
    Thank!


  • #2
    Re: One (1) file to multiples folder How?

    The easiest way would be to do a File.Copy action for each Folder you want to copy to.

    File.Copy ("%SrcDir%\Dir 1\OldFile.ext", "C:\Dir 2")
    File.Copy ("%SrcDir%\Dir 1\OldFile.ext", "C:\Dir 3")
    File.Copy ("%SrcDir%\Dir 1\OldFile.ext", "C:\Dir 4")

    Comment


    • #3
      Re: One (1) file to multiples folder How?

      Other than Worm's suggestion, you could install it to one location and then use the "Install File" action to have access to some of the install time attributes.

      If size is not an issue, you could also include three copies of that file in your installation as long as they have three different "Source" locations on your development system.

      Comment

      Working...
      X