DIAdem Help

Property: ShortPath for Folder

  • Updated2024-09-12
  • 1 minute(s) read

Property: ShortPath for Folder

Specifies the short path of a folder according to the 8.3 naming convention.

Object.ShortPath
ObjectFolder
Object with this property
Object.ShortPathString with read access

The following example returns the short path of a folder:

Function FolderShortPath(sFolder)
  Dim fso, oMyFolder
  Set fso = CreateObject("Scripting.FileSystemObject")
  Set oMyFolder = fso.GetFolder(sFolder)
  FolderShortPath = "Shortpath: " & oMyFolder.ShortPath
End Function

Log in to get a better experience