X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.0 required=5.0	tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT
X-Spam-Check-By: sourceware.org
Date: Wed, 13 Oct 2010 18:46:19 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <1442555078.20101013184619@mtu-net.ru>
To: Autotoonz <david.topley@acma.gov.au>, cygwin@cygwin.com
Subject: Re: nodosfilewarning not working
In-Reply-To: <29950134.post@talk.nabble.com>
References: <29948673.post@talk.nabble.com> <20101013011127.GA14097@ednor.casa.cgf.cx> <29948823.post@talk.nabble.com> <20101013014122.GA14285@ednor.casa.cgf.cx> <29948971.post@talk.nabble.com> <20101013053646.GA15747@ednor.casa.cgf.cx> <29949816.post@talk.nabble.com> <4CB5591A.4000901@veritech.com> <29950134.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Greetings, Autotoonz!

>> 'setx' can also be invoked from shell scripts but
>> still only impacts
>> subsequently invoked shells. In both cases, the results obtain even 
>> after reboot.
>> 

> Thankyou for this info. Setx will be useful for me in the future because our
> Windows PCs are locked down, and I cannot modify any Windows System
> variables via the GUI.

You should be able to modify USER variables. Even if both System control panel
applet and regedit.exe are blocked, there's tons of ways to deal with registry
directly, down to writing your own little program in any language you familiar
with (almost any compiler with visual IDE coming with an example of dealing
with windows registry).
The path you're looking for is HKEY_CURRENT_USER\Environment

That, however, provided your user profiles are persistent.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 13.10.2010, <18:41>

Sorry for my terrible english...


--
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

