Q

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.
This was first published in February 2006

Dig deeper on LotusScript

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchWinIT

Search400

  • 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 ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close