FileExists 方法 (Shell 对象)
如果指定文件存在则返回 true;如果没有,则为 false。 strFile 要确定其存在的文件的名称。 支持 EmEditor Professional 22.1 或之后的版本。[JavaScript]
b = shell.FileExists( strFile );
[VBScript]
b = shell.FileExists( strFile )
参数
示例
[JavaScript]
b = shell.FileExists( "C:\\\\Test\\\\file.txt" );
[VBScript]
b = shell.FileExists( "C:\\Test\\file.txt" )
版本