IsLocked

Syntax:

IsLocked(Str)

Description:
Returns a true if the file is locked and/or in user by another application, and false otherwise.

Parameter Description

Str  A text string containing the full path and filename to be checked

Example:

Sub Main
MsgBox GetFileAttr("c:\foldername\filename.txt")
End
Sub

See Also:

ExtractFilePath

ExtractFileName

GetFileAttr