====== PathFromRelative ====== Method of [[:scripting:api:application:start|IApplication]] ===== Description ===== Convert path from relative to full form ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **strPathRelative** * [[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]] **bCheckExist** = VARIANT_FALSE (optional) ==== Return Value ==== * [[scripting:api:data-type:BSTR|BSTR]] **pstrPathAbsolute** ===== Syntax ===== ==== JavaScript ==== var pstrPathAbsolute = Application.PathFromRelative(strPathRelative, bCheckExist); ==== Visual Basic Script ==== pstrPathAbsolute = Application.PathFromRelative strPathRelative, bCheckExist ==== C++ ==== BSTR pstrPathAbsolute; HRESULT hr = Application.PathFromRelative(strPathRelative, bCheckExist, &pstrPathAbsolute); ===== See Also ===== [[:scripting:api:application:start|IApplication]] ~~NOTOC~~