scripting:api:application:resolve-file-name

ResolveFileName

Method of IApplication

Resolves incomplete file name.

  • BSTR pstrAbsolutePath
var pstrAbsolutePath = Application.ResolveFileName(strBasePath, strRelative, bCheckExist);
pstrAbsolutePath = Application.ResolveFileName strBasePath, strRelative, bCheckExist
BSTR pstrAbsolutePath;
HRESULT hr = Application.ResolveFileName(strBasePath, strRelative, bCheckExist, &pstrAbsolutePath);