X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=TawkoXF 2OvkPn6xlHleC4HpfKO2gITA//jy+8phF7Kas9avF2ZxdRrMeBdVuWRNn62atZTH vOQVxu7Qa0N0XuittzXgB7XzGHkId9r2rPXx17hTNq9mm781R82W1kl52lDCQcJo Kk2oz1uQMqS2d5o/N1/Jth65eHpKu4spMoLs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=FPZRRVHzeMFJ2 VuZMpS6O53dA+0=; b=XShRC6OiTCAXnPFllDrajzokHDJcw9OoFilUGrnxXcJHK ufAhcenE4F8aykd0uOZGvANyd98YRz7HIubQJbljeXhf834oUcmXhFC4wO4eLjzc cr2va9BvdBOOzjz+tc4zII65r04nlLQ0d92byjdB2z3Cf2ZUfCgfeHJhPhKJ2o= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-lf0-f46.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=+i/1JMx2FiWuM0KZwU2sxLtbbPdjjpt9q8d/Agod1+8=; b=at5dw/qawNXuzvKiamuOnjIdGvaMbKoe25qLHFimjnvZXzjeeBYZVZRXFI3VXn0w9r 0cRb2oFfNaI706FRM7SCoYokFlel9hv8h+5HhujPMBa+mCDQWEIKpbyBkSxsKi01VEbv lWit6J69koD2J5Io4AreUXCzdMNO2WjCi/Z5to/lLi+yN3jyFpGFl+8koSmMyi47etoK nHkXmNKfgUAGOh375qTejhflNkuvLdaKAZs7nn0jeaMJ4ULCiMYee0RWT/w5fkVswMup k5G25hHRw3sjWO+spDcsTs2MP78FzJHpP0bK/72ZzmEXf3GmCxmXbHDy8CvNJyxpYgdD i6ww== X-Gm-Message-State: AE9vXwO+1mgkO3klWU8oeKIsgPsErdnz5mA9fHi0eFp+yA4Eh5q6FLaS16R/vF97xxyNMWsBOL2oZ8SfwwkyeA== X-Received: by 10.46.5.5 with SMTP id 5mr1670879ljf.9.1472225671955; Fri, 26 Aug 2016 08:34:31 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A704BB926D2@USA7109MB022.na.xerox.net> References: <0D835E9B9CD07F40A48423F80D3B5A704BB926D2 AT USA7109MB022 DOT na DOT xerox DOT net> From: Erik Soderquist Date: Fri, 26 Aug 2016 11:34:30 -0400 Message-ID: Subject: Re: cygpath -w and .exe magic To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On Fri, Aug 26, 2016 at 10:58 AM, Nellis, Kenneth wrote: > Here is a contrived example: > > $ cmd /c DIR $(cygpath -w hello.exe) > Volume in drive C has no label. > Volume Serial Number is 6A15-FFB2 > > Directory of C:\cygwin\home\knellis\dev\c\hello > > 08/26/2016 10:47 60,927 hello.exe > 1 File(s) 60,927 bytes > 0 Dir(s) 218,673,360,896 bytes free > $ cmd /c DIR $(cygpath -w hello) > Volume in drive C has no label. > Volume Serial Number is 6A15-FFB2 > > Directory of C:\cygwin\home\knellis\dev\c\hello > > File Not Found > $ That isn't really a failure, as "dir foo" in CMD.EXE should (and does) return file not found if file "foo" (no extension) does not exist. -- Erik -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple