DIAdem Help

Property: ShortPath for File

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

Property: ShortPath for File

Specifies the short path according to the 8.3 naming convention.

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

The following example returns the short path of a file:

Function FileShortPath(sFile)
  Dim fso, oMyFile
  Set fso = CreateObject("Scripting.FileSystemObject")
  Set oMyFile = fso.GetFile(sFile)
  FileShortPath = "Shortpath: " & oMyFile.ShortPath
End Function

Log in to get a better experience