Page 1 of 1 1
Topic Options
#167645 - 2006-09-14 09:14 AM DnsDomain
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
I would like an extra macro which returns the domain the machine is in. I could use the command SubStr(@HostName,InStr(@HostName,'.')+1) but a macro would be easier.
_________________________
Kind regards,

Top
#167646 - 2006-09-14 09:46 AM Re: DnsDomain
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
How about this one

Quote from the manual:
Quote:


....
@DOMAIN - Domain or workgroup the computer belongs to
....



_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#167647 - 2006-09-14 02:29 PM Re: DnsDomain
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Mart, doesn't @Domain return the NetBIOS domain name which could be different fron the DNS domain name.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#167648 - 2006-09-14 03:12 PM Re: DnsDomain
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Schuliebug,
Post this to suggestions if you want to grab Ruud's ear.

Top
#167649 - 2006-09-14 04:06 PM Re: DnsDomain
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
It was in Suggestions and someone moved it to starters
Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 579 anonymous users online.
Newest Members
min_seow, Audio, Hoschi, Comet, rrosell
17881 Registered Users

Generated in 0.026 seconds in which 0.011 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org