hi allmy local agent:
…
'open db on server
…
dim ns as NotesSession
Set ns = db.Parent
path = ns.GetEnvironmentString(“Directory”, True)
…
but path is data lotus notes directory on my local computer, why?
can i get domino server data directory from my local agent?
Subject: can i get domino server data directory from my local agent?
The session always contains data about the environment your code runs in. And that’s your local workstation.
If you need to collect data about the server machine, some agent running there could do so and store the info in documents, that you could then read with your local agent. If I remember right, the path the the data directory is not even stored in the server document, but I could be wrong here.