Syntax
$cs.File_RenameFile(string source, string dest, bool overwrite = true)
Parameters
source
Source file to rename
...
overwrite existing file if exists
Example
Code Block | ||
---|---|---|
| ||
$cs.File_RenameFile("C:\Temp\dummy.txt","C:\Temp\moredummy.txt",$true) |
...
$cs.File_RenameFile(string source, string dest, bool overwrite = true)
source
Source file to rename
...
overwrite existing file if exists
Code Block | ||
---|---|---|
| ||
$cs.File_RenameFile("C:\Temp\dummy.txt","C:\Temp\moredummy.txt",$true) |
...