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 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: cygpath only works if the path presently exists Date: Fri, 11 Mar 2005 17:18:47 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Wheeler, Frederick W \(Research\)" To: X-OriginalArrivalTime: 11 Mar 2005 22:17:06.0151 (UTC) FILETIME=[0F266770:01C52688] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j2BMHPnO018827 I'm a little surprised by this behavior from "cygpath" % cygpath -w "//nsk120000650701/share" \\nsk120000650701\share % cygpath -w "//nsk120000650701/share_does_not_exist" cygpath: error converting "//nsk120000650701/share_does_not_exist" - No such host or network path In the first command, the path in the argument exists, in the second the path does not. I think cygpath should convert the path even if the path/file don't currently exist. Or perhaps there should be an option to get that behavior. My real concern is converting this //nsk1prn02/c304_p to this \\nsk1prn02\c304_p. This is a valid win2k printer path that I could pass to /cygdrive/c/WINNT/system32/print using the /D: option, but cygpath won't convert it. I did a complete cygwin update moments ago. Fred Wheeler -- 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/