This code snippet bellow works great. but not exactly what I want. I have another string that has the exact file path
StringModelIDFilePath. Can I use IEdmBatchGet to get one specific file rather than all file within a folder?
StringModelIDFilePath = "C:\Slides1\Proposals\31000\Park\myFinalItem.SLDASM"
StringModelIDPath = "C:\Slides1\Proposals\31000\Park\"
Dim vault As New EdmVault5
vault.LoginAuto "Slides1", 0
Dim folders(1) As EdmSelItem
folders(0).mlDocID = 0
folders(0).mlProjID = vault.GetFolderFromPath("C:\Slides1" & StringModelIDPath).ID
Dim bg As IEdmBatchGet
Set bg = vault.CreateUtility(EdmUtil_BatchGet)
bg.AddSelection vault, folders()
bg.CreateTree 0, EdmGetCmdFlags.Egcf_SkipExisting
bg.GetFiles 0, Nothing