$cs.File_DelFile

Syntax

$cs.File_DelFile(string filepath, bool recursive = false)

 

Parameters

filepath

file to delete and starting path

recursive

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

 

Example

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

returns nothing

Â