X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Changing HOME for PERL Date: Wed, 26 Aug 2009 15:17:58 -0400 Message-ID: From: To: X-EMM-EM: Active X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hello, I installed Cygwin yesterday and when I run it and look at "pwd" my path is set to: /cygdrive/h I read the FAQ and when I type "set HOME" from a Windows CLI, it is set to: HOME=3DH:\ I am using Cygwin for PERL.=20=20 I just took a PERL course and in class Cygwin was configured for: /usr/bin/perl This was perfect because I could make my SheBang look like:=09 #!/usr/bin/perl I would like to do that again with the Cygwin I installed myself yesterday. I did modify /etc/passwd.=20=20 The last line had: ...:/cygdrive/h:/bin/bash and I changed it to: ...:/usr/bin/perl:/bin/bash But when I open a new Cygwin session it remembers the old /cygdrive/h Could someone help me? I don't want to have to change my SheBang everytime I deploy a PERL script to Unix after having created it in Cygwin on Windows. Thank you,=20 Michael J. Dexter -- 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