DIAdem Help

Property: Path for Drive

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

Property: Path for Drive

Specifies the path of a drive.

Object.Path
ObjectDrive
Object with this property
Object.PathString with read access

The following example specifies the path of the root folder.

Function RootPath(sDrv)
  Dim fso, oMyDrive
  Set fso = CreateObject("Scripting.FileSystemObject")
  Set oMyDrive = fso.GetDrive(sDrv)
  RootPath = "Root: " & oMyDrive.Path
End Function

Log in to get a better experience