| You could try using java.lang.System.getenv().

Thanks Andy - excellent, that was exactly what I was looking for. Alan - the
server scope contains useful stuff, but not the computer name.

On windows, this does the trick:
createObject( "java", "java.lang.System" ).getenv()["COMPUTERNAME"]

Cheers,
Hugo


--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to