This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: backslash in pathfile under Cygwin
- To: Mike <mirakle at ZonejeuX dot com>
- Subject: Re: backslash in pathfile under Cygwin
- From: Prentis Brooks <prentis at aol dot net>
- Date: Tue, 7 Aug 2001 11:47:58 -0400 (EDT)
- cc: <cygwin at cygwin dot com>
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@aol.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/