Problem solve Get help with specific problems with your technologies, process and projects.

Configuring a local and server machine using LotusScript

SearchDomino.com expert Cregg Hardwick offers suggestions on configuring the hardware and software of 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.

Dig Deeper on LotusScript

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...