delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/10/10:59:56

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: <200412101701510985.0003FE22@email.uni-linz.ac.at>
In-Reply-To: <Pine.GSO.4.61.0412041531410.3217@slinky.cs.nyu.edu>
References: <41B1A1C4 DOT 6020102 AT ieee DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0412041531410 DOT 3217 AT slinky DOT cs DOT nyu DOT edu>
Date: Fri, 10 Dec 2004 17:01:51 +0100
From: "Benjamin Lindner" <lindner AT flll DOT uni-linz DOT ac DOT at>
To: cygwin AT cygwin DOT com
Subject: Re: Environment variables & system privilages
X-IsSubscribed: yes

>>
>> 1. What's the "right" way to add add environment variables into the user
>> and system maps?
>
>Well, that's probably the best you could hope for, if you want system-wide
>settings.  I'm not aware of any other command-line tool that would set
>these.  If you only want to set environment variables for Cygwin shells,
>you might want to edit /cygwin.bat instead.
>

there is a command line tool from the w2k ressource tools named SETX.EXE
doing a google search reveals the links to ms homepage.
It is supposed to set environment variables for local user and/or 
local machine from command line.

you might give it a try

benjamin


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