Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Mime-Version: 1.0 (Apple Message framework v619.2) Message-Id: Content-Type: text/plain; charset=ISO-8859-1; format=flowed To: "Cygwin List'" From: Peter Rehley Subject: Question about mkdir and windows paths Date: Wed, 16 Mar 2005 10:36:02 -0800 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j2GIaBUH019950 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 '/' The source I've check is coreutils-5.2-1 and coreutils-5.3-0. Both are doing the same thing. Thanks, Peter ------------------------------- A Møøse once bit my sister -- 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/