FRENDS⁴ Common Components : Frends.Common.Files.Operations.DuplicateFile

This task duplicates a file while appending the number of duplicate to newly created duplicate files name. For example test.xml → test_1.xlm.

Input Parameters

  • FilePath
    • The path to the file that is to be duplicated.
  • NumberOfDuplicates
    • The number of times the file is to be duplicated.
  • Overwrite
    • Can be used to overwrite destination file if it exists

Output Result

  • String
    • Returns the number of duplicates that were created.