Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <411A8F9C.4090204@x-ray.at> Date: Wed, 11 Aug 2004 23:29:00 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a2) Gecko/20040714 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Anyone Done This ??? References: <000b01c47fe0$295fc2c0$1c0a0a0a AT amer DOT cisco DOT com> In-Reply-To: <000b01c47fe0$295fc2c0$1c0a0a0a@amer.cisco.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Tennis Smith (tennis) schrieb: Has anyone written a utility/script that can change the name of the PC? I > have several _dozen_ PCs that need to be converted to a new naming > convention. isn't it just a registry entry? cygwin cannot control remote registry entries (besides ssh'ing to each machine), but the win32 tool regedt32.exe can, and there's a COM API. you only have to check out how to script that via COM (Visual Basic, perl Win32::OLE, pythonwin, ....). very easy. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/