...
Checks if a file exists and deletes it. If recursive = $true
then , it checks the folder and subfolders for the filename and deletes the file files if it existsthey exist.
Example
Code Block | ||
---|---|---|
| ||
$cs.File_DelFile("C:\Program Files\CapaInstaller\dummy.exe",$True) |
...