Versions Compared

Key

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

...

delete file from subfolders, relative to filepath (default False)

Description

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 if it exists.

Example

Code Block
languagepowershell
$cs.File_DelFile("C:\Program Files\CapaInstaller\dummy.exe",$True)

...