$cs.File_RenameFile

Syntax

$cs.File_RenameFile(string source, string dest, bool overwrite = true)

 

Parameters

source

Source file to rename

dest

Destination name of file

overwrite

overwrite existing file if exists

 

Example

$cs.File_RenameFile("C:\Temp\dummy.txt","C:\Temp\moredummy.txt",$true)

returns nothing

Â