delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/13/10:50:24

X-Recipient: archive-cygwin AT delorie DOT 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 AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1442555078.20101013184619@mtu-net.ru>
To: Autotoonz <david DOT topley AT acma DOT gov DOT au>, cygwin AT cygwin DOT com
Subject: Re: nodosfilewarning not working
In-Reply-To: <29950134.post@talk.nabble.com>
References: <29948673 DOT post AT talk DOT nabble DOT com> <20101013011127 DOT GA14097 AT ednor DOT casa DOT cgf DOT cx> <29948823 DOT post AT talk DOT nabble DOT com> <20101013014122 DOT GA14285 AT ednor DOT casa DOT cgf DOT cx> <29948971 DOT post AT talk DOT nabble DOT com> <20101013053646 DOT GA15747 AT ednor DOT casa DOT cgf DOT cx> <29949816 DOT post AT talk DOT nabble DOT com> <4CB5591A DOT 4000901 AT veritech DOT com> <29950134 DOT post AT talk DOT nabble DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

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 AT freemail DOT 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

- Raw text -


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