Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syntax

<dllobject>$cs.File_CopyFile(string source, string destination, bool overwrite = true)

 

Parameters

source

source file

destination

...

overwrite

 overwrite existing file

Example

Code Block
languagepowershell
$cs.File_CopyFile("C:\Program Files\CapaInstaller\dummy.exe","C:\Windows\dummy2.exe")

...