Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 22 Aug 2000 17:05:48 -0400 From: Jason Tishler To: Cygwin Mailing List Subject: Re: WinCVS via Corinna's SSH works & "Exporting" of env vars. Message-ID: <20000822170548.A5575@DP> References: <398EDFDC DOT 601825EB AT nca DOT asu DOT edu> <39A28C8F DOT 3F0E5F7E AT nca DOT asu DOT edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="EtizwpuPcl6rIhGH" Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <39A28C8F.3F0E5F7E@nca.asu.edu>; from cro@nca.asu.edu on Tue, Aug 22, 2000 at 07:22:07AM -0700 Organization: Dot Hill Systems Corp. --EtizwpuPcl6rIhGH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Charles, On Tue, Aug 22, 2000 at 07:22:07AM -0700, C. R. Oldham wrote: > The utility program is called "setx.exe" and comes in the NT resource kit. FYI, the NT resource kit and hence setx.exe is not freely available. I was originally using setx.exe in a similar way to how you were using it. In order to eliminate licensing issues, I decided to write the attached program, sndwsc, and use it in conjunction with regtool instead. sndwsc compiles easily with gcc or MSVC. Hopefully, those who do not have the NT resource kit and need the functionality of setx.exe will find this post useful. Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corporation Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com --EtizwpuPcl6rIhGH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sndwsc.c" #include int main() { BOOL aStatus = SendMessage(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM) "Environment"); return (aStatus) ? 0 : 1; } --EtizwpuPcl6rIhGH Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --EtizwpuPcl6rIhGH--