delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Date: | Wed, 16 Mar 2005 14:28:50 -0500 |
From: | Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Question about mkdir and windows paths |
Message-ID: | <20050316192850.GC20987@trixie.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
References: | <c3f99bb1f41998fc91524388d0ff0ce0 AT rehley DOT net> |
Mime-Version: | 1.0 |
In-Reply-To: | <c3f99bb1f41998fc91524388d0ff0ce0@rehley.net> |
User-Agent: | Mutt/1.5.6i |
On Wed, Mar 16, 2005 at 10:36:02AM -0800, Peter Rehley wrote: >Hi, > >I'm using mkdir with a windows path, and it's not working the way I >expect. When I type the following command > >mkdir -p C:\\Cygwin\\tmp\hello; # cygwin and tmp already exist > >the directory is created. > >If I try the following > >rm -rf C:\\Cygwin\\tmp\\hello >mkdir -p C:\\Cygwin\\tmp\\hello\\goodbye > >I get >mkdir : cannot create directory `C:\\MontaVista\\tmp\\hello\\goodbye': >No such file or directory > >Is this the except behavior of mkdir or is there a bug here? I've >check the source and noticed that the make_path function only looks for >'/' One of the primary goals of cygwin is to avoid the use of windows paths to avoid the requirement of adding special code to programs like mkdir. cgf -- 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 |