示例:文件夹存在
本示例用于创建文件夹
Machine1\Motor1
(如果不存在)。Sub CreateTagDBFolder() If Not (TagDB.FolderExists("Machine1\Motor1")) Then TagDB.CreateFolder "Machine1\Motor1" End If End Sub
提供反馈
Sub CreateTagDBFolder() If Not (TagDB.FolderExists("Machine1\Motor1")) Then TagDB.CreateFolder "Machine1\Motor1" End If End Sub