Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <200412101701510985.0003FE22@email.uni-linz.ac.at> In-Reply-To: References: <41B1A1C4.6020102@ieee.org> Date: Fri, 10 Dec 2004 17:01:51 +0100 From: "Benjamin Lindner" To: cygwin@cygwin.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/