scripting:api:application:resolve-file-name

ResolveFileName

Method of IApplication

Resolves incomplete file name.

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

==== Visual Basic Script ====

pstrAbsolutePath = Application.ResolveFileName strBasePath, strRelative, bCheckExist

==== C++ ====

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

===== See Also ===== IApplication