/
$cs.File_ExistFile
$cs.File_ExistFile
Syntax
$cs.File_ExistFile(string filepath)
Parameters
filepath
Path to file to check for
Example
if(!$cs.File_ExistFile("${env:ProgramFiles(x86)}\WinSCP\WinSCP.exe")){Exit-PSScript 2}
returns Bool
Related content
$cs.File_ExistDir
$cs.File_ExistDir
Read with this
$cs.File_DelFile
$cs.File_DelFile
More like this
PowerShell Scripting Library
PowerShell Scripting Library
Read with this
File_ExistFile
File_ExistFile
More like this
$cs.File_CreateDir
$cs.File_CreateDir
Read with this
File_ExistFile
File_ExistFile
More like this