====== PathToRelative ======
Method of [[:scripting:api:application:start|IApplication]]
===== Description =====
Convert path to relative form
===== Parameters =====
* [[scripting:api:data-type:BSTR|BSTR]] **strPathAbsolute**
==== Return Value ====
* [[scripting:api:data-type:BSTR|BSTR]] **pstrPathRelative**
===== Syntax =====
==== JavaScript ====
var pstrPathRelative = Application.PathToRelative(strPathAbsolute);
==== Visual Basic Script ====
pstrPathRelative = Application.PathToRelative strPathAbsolute
==== C++ ====
BSTR pstrPathRelative;
HRESULT hr = Application.PathToRelative(strPathAbsolute, &pstrPathRelative);
===== See Also =====
[[:scripting:api:application:start|IApplication]]
~~NOTOC~~