This example retrieves the setting of the IsRoot property for a WebFolder object.
Private Sub CheckExecutable()
Dim myFolder As WebFolder
Dim myIsRoot As Boolean
Set myFolder = ActiveWeb.RootFolder.Folders("images")
myIsRoot = myFolder.IsRoot
End Sub