X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0	tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
From: "Gary Furash" <furashgary@gmail.com>
To: <cygwin@cygwin.com>
Subject: Script to Auto CYGWIN -U all environment varialbes
Date: Mon, 7 Feb 2011 15:36:26 -0700
Message-ID: <011c01cbc717$766ecfe0$634c6fa0$@com>
MIME-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Has anyone written anything into their bash profile or whatever that goes
through each windows environment variable currently extant, and resets them
via CYGPATH

e.g.

Before, @ start of .bashrc
ETC=C:\WINDOWS\ETC

After run of .bashrc
ETC=`$(cygpath -u '$ETC')`; EXPORT ETC  (--> /cygpath/c/windows/etc)

Or something like that. So, by the time you hit your cygwin prompt all your
environment variables are already cleaned up.


Gary Furash | furashgary@gmail.com | 520-907-2470




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

