Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: Mike cc: Subject: Re: backslash in pathfile under Cygwin In-Reply-To: <00a801c11f57$e7f9fb20$85013d0a@lyon.ixo.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/