Ask the Expert

Configuring a local and server machine using LotusScript

How do I configure the hardware and software for my local and server machine using LotusScript?

I'm not sure what configuration information you are looking for, but here are a couple of ideas. First, the NotesSession.Platform property will return the operating system type, and the NotesVersion property will return the version of the Lotus Notes client:

Dim session as new NotesSession
Print session.platform
Print session.Notesversion

For anything more complicated than that, you would have to call an external .DLL or shell out to an outside program. For example, you could create a batch file to run "ipconfig.exe \all >config.txt", use the LotusScript "Shell" command to execute the batch file, and then open the resulting "config.txt" text file and parse it for machine name, IP address, etc.

Do you have comments on this Ask the Expert Q&A? Let us know.

This was first published in February 2006

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: