Árvore de páginas

Retorna o caminho completo do arquivo de configuração (*.INI) do SmartClient.

Sintaxe

GetRemoteIniName()

Retorno

Nome

Tipo

Descrição

cRet

caractere

Retorna o caminho completo do arquivo de configuração (*.INI) do SmartClient.

Exemplos

Exemplo 1
user function rmtini()
  Local cIniName := GetRemoteIniName() // Resultado: "C:\totvs\bin\SmartClient\smartclient.ini"
  Local lUnix := IsSrvUnix()
  Local nPos := Rat( IIf( lUnix, "/", "\" ), cIniName )
  Local cPathRmt
  
  if !( nPos == 0 )
    cPathRmt := SubStr( cIniName, 1, nPos - 1 )
  else
    cPathRmt := ""
  endif
  
  QOut( cPathRmt ) // Resultado: "C:\totvs\bin\SmartClient
Return

Abrangência

Advanced Protheus 6.09, Advanced Protheus 7.10, Microsiga Protheus 8.11, Protheus 10, TOTVS Application Server 10, ByYou Application Server

  • Sem rótulos