There is an environment variable called %logonserver% available. For future reference, type "SET" (no quotes) at a command prompt for a list of available environment variables... Glenn Sullivan, MCSE+I MCDBA David Clark Company Inc. -----Original Message----- From: Puetz, Christoph [mailto:christoph.puetz@xxxxxxxxxxx] Sent: Wednesday, February 04, 2004 2:32 PM To: 'windows2000@xxxxxxxxxxxxx' Subject: [windows2000] Specify Domain controller Is there a way I can specify the name of the domain controller via a variable for a logon script? Instead of hard coding the location of a certain file on a DC, I'd like to point to the Netlogon folder on the authenticating DC in general. Thanks. Christoph ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com <http://www.messagelabs.com> ________________________________________________________________________