This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Differentiate workgroup system from domain member under Cygwin


On Jan 22 10:34, Christoph Herdeg wrote:
> So question is more if there is any place on a windows system, a file or a
> directory or an entry in a file that exists only if that machine is a
> domain member?

There are certainly multiple methods to fetch this information.  One of
them is, for instance:

  bash$ net config workstation | grep -q 'Domain DNS' \
	&& echo domain-member || echo standalone-machine


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]