| www.delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <10307440.post@talk.nabble.com> |
| Date: | Thu, 3 May 2007 09:17:34 -0700 (PDT) |
| From: | SCHLING <schling AT mail DOT telepac DOT pt> |
| To: | cygwin AT cygwin DOT com |
| Subject: | CD doesn't work in script |
| MIME-Version: | 1.0 |
| X-Nabble-From: | schling AT mail DOT telepac DOT pt |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| 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 |
Hi all, I have successfully installed Cygwin on XP SP2, and would like to run a script which includes a change directory command (cd \etc.) All the other lines of the script work except the one with cd. The same line works when input by hand. Searching on the net I found that line endings could be critical (Lf instead of CrLf) and ran the script through d2u. Still no success. Curiously, if the script tries a cd with a non-existing directory, I get a warning. Otherwise, the script runs withouth any problems, but the active directory does not change. Don't know what to do next... Any help appreciated Robert -- View this message in context: http://www.nabble.com/CD-doesn%27t-work-in-script-tf3687263.html#a10307440 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |