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" )
版本