Show/Hide Toolbars

EmEditor 説明

導航: EmEditor 說明 > 巨集參考 > Shell 對象 > 方法

巨集: FileExists 方法 (Shell 對象)

Scroll 上一頁 首頁 下一頁 其他
EmEditor 首頁 - EmEditor 說明 - EmEditor 巨集參考 - Shell 對象

FileExists 方法

如果指定檔案存在則返回 true;如果沒有,則為 false。

[JavaScript]

b = shell.FileExists( strFile );

[VBScript]

b = shell.FileExists( strFile )

參數

strFile

要確定其存在的檔案的名稱。

範例

[JavaScript]

b = shell.FileExists( "C:\\Test\\file.txt" );

[VBScript]

b = shell.FileExists( "C:\Test\file.txt" )

版本

支持 EmEditor Professional 22.1 或之後的版本。

Copyright © 2003-2023 by Emurasoft, Inc.