Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: References: <41B1A1C4 DOT 6020102 AT ieee DOT org> Date: Fri, 10 Dec 2004 17:01:51 +0100 From: "Benjamin Lindner" To: cygwin AT cygwin DOT com Subject: Re: Environment variables & system privilages Content-Type: text/plain; charset="us-ascii" 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/