FileExists メソッド (Shell オブジェクト)
指定するファイルが存在すれば true を、存在しなければ false を返します。 strFile 存在するかどうかを調べるファイルの名前を指定します。 EmEditor Professional Version 22.1 以上で利用できます。[JavaScript]
shell.FileExists( strFile );
[VBScript]
shell.FileExists strFile
パラメーター
例
[JavaScript]
b = shell.FileExists( "C:\\\Test\\\file.txt" );
[VBScript]
b = shell.FileExists( "C:\\Test\\file.txt" )
バージョン