ZennoLab.Macros Assembly > ZennoLab.Macros Namespace > FileSystem Class : FileCopy Method |
Type: System.String
Path to the existing file.
Type: System.String
Path to the new file.
Type: System.String
Path to the existing file.
Type: System.String
Path to the new file.
string oldPath = {pathToExistingFile}; string newPath = {pathToNewFile}; FileSystem.FileCopy(oldPath, newPath);
$oldPath = {pathToExistingFile}; $newPath = {pathToNewFile}; FileSystem::FileCopy($oldPath, $newPath);
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.