Notes Directory

Hi, I want to get the data folder path through programmatically. ie \…\lotus\notes\data. I have checked in notes.ini file where we can get this information from Directory variable but when I use @Environment(“Directory”) or session.GetEnvironmentString( “Directory” ), its returning null. Any suggestions please…

Shankar.

Subject: Notes Directory

When you use the lotus script method you need to set the second parameter (boolean issystem) to true.

session.GetEnvironmentString( “Directory”, true )

Peter Närlund

http://domainpatrol.org

Subject: RE: Notes Directory

Thanks Peter for your quick response. Its working. Any idea why in formula its not working??

Subject: RE: Notes Directory

From the Notes Help file on using @Environment:

“You can only set and retrieve the values of variables that begin with a dollar sign ($) symbol.”

Jeff Hallett