| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Date: | Tue, 7 Aug 2001 11:47:58 -0400 (EDT) |
| From: | Prentis Brooks <prentis AT aol DOT net> |
| To: | Mike <mirakle AT ZonejeuX DOT com> |
| cc: | <cygwin AT cygwin DOT com> |
| Subject: | Re: backslash in pathfile under Cygwin |
| In-Reply-To: | <00a801c11f57$e7f9fb20$85013d0a@lyon.ixo.fr> |
| Message-ID: | <Pine.GSO.4.33.0108071146470.3206-100000@magetower.office.aol.com> |
| MIME-Version: | 1.0 |
If you need to use a backslash, you have to escape it since backslash is an
escape character under cygwin:
ie c:\\winnt\\system32\\calc.exe
however, the best method would be to use the cygdrive mappings:
ie /cygdrive/c/winnt/system32/calc.exe
On Tue, 7 Aug 2001, Mike wrote:
> Hi all,
>
> I'm sorry for this question (that looks trivial) but I'm a newbie.
> Here is the question :
>
> Is there an easy way for me to use DOS path (using backslashes) under
> Cygwin ?
>
> I've tried : 'c:\winnt\system32\calc.exe" but it does not work.
> Of course c:/winnt/system32/calc.exe works but I try to use Windows programs
> that open files with a DOS like path...
>
> Thanks for your help.
>
> Mike
>
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
Prentis Brooks | prentis AT aol DOT net | 703-265-0914 | AIM: PrentisB
System Administrator - Web Infrastructure & Security
A knight is sworn to valor. His heart knows only virtue. His blade
defends the helpless. His word speaks only truth. His wrath undoes the
wicked. - the old code of Bowen, last of the dragonslayers
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |