delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.1 required=5.0 tests=BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Thu, 2 Sep 2010 14:53:23 -0400 |
Message-ID: | <AANLkTi=xPEcwps0CXgL9JwTiL9gss_wKq0Ln+VNHhWTR@mail.gmail.com> |
Subject: | re: Windows-style pathname does not work as command - why? |
From: | neal s <ohio DOT cyclist AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
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 |
I suggest for your convenience, you try making a symbolic link=A0 ... Perhaps something like ... $ ln -s /cygdrive/c/tools/emacs-23.2/bin/runemacs.exe /usr/local/bin/runema= cs Then open up a fresh shell and see if 'runemacs' now works for you. (the shell you made the symbolic link in, will likely NOT be able to use the new link) new-shell$ runemacs When I tried something similar to your situation, but with VIM I got the following ---------------------- $ C:\\PROGRA~1\\vim\\vim72\\gvim.exe cygwin warning: MS-DOS style path detected: /usr/local/bin/C:\PROGRA~1\vim\vim72\gvim.exe Preferred POSIX equivalent is: /usr/local/bin/C:/PROGRA~1/vim/vim72/gvim.= exe CYGWIN environment variable option "nodosfilewarning" turns off this warn= ing. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames bash: C:\PROGRA~1\vim\vim72\gvim.exe: command not found --------------------- While it may not be easy to make bash properly handle dos style paths for executeables, I do believe that you can make your life much easier with well chosen symbolic links. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |