Windows:
Not sure about the others.
Print getenv_("username")Edit: This returns the current username on Windows, NOT the Computer-Name.
Not sure about the others.