PathToRelative

Method of IApplication

Convert path to relative form

  • BSTR strPathAbsolute

Return Value

  • BSTR pstrPathRelative

JavaScript

var pstrPathRelative = Application.PathToRelative(strPathAbsolute);

Visual Basic Script

pstrPathRelative = Application.PathToRelative strPathAbsolute

C++

BSTR pstrPathRelative;
HRESULT hr = Application.PathToRelative(strPathAbsolute, &pstrPathRelative);