delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/11/17:29:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <rurban AT x-ray DOT at>
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>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019