Forum Discussion
sanjay0288
9 years agoFrequent Contributor
Which scripting language are you using? A sample vbscript snippet is provided below. Which might be of some help
Sub GetParentFolder
suitePath = projectsuite.Path
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFldr = objFSO.GetFolder(suitePath)
MsgBox objFldr
strFolder = objFSO.GetParentFolderName(objFldr)
MsgBox strFolder
End Sub