From: Erik Soderquist <ErikSoderquist@gmail.com>
To: cygwin@cygwin.com
Subject: Re: cygpath -w and .exe magic
Date: Fri, 26 Aug 2016 17:55:00 -0000 [thread overview]
Message-ID: <CACoZoo2AyOBkJoTiYy2n60=v9PTnPfG+WCaMXaVkfCMPdUBQ+w@mail.gmail.com> (raw)
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A704BB926D2@USA7109MB022.na.xerox.net>
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
next prev parent reply other threads:[~2016-08-26 15:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-26 13:59 Nellis, Kenneth
2016-08-26 14:30 ` Lee Dilkie
2016-08-26 14:30 ` Herbert Stocker
2016-08-26 14:58 ` Nellis, Kenneth
2016-08-26 15:07 ` cyg Simple
2016-08-26 15:34 ` Nellis, Kenneth
2016-08-26 17:55 ` Erik Soderquist [this message]
2016-08-26 19:50 ` cyg Simple
2016-08-26 14:45 ` cyg Simple
2016-08-26 15:29 ` Doug Henderson
2016-08-26 16:50 ` Herbert Stocker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACoZoo2AyOBkJoTiYy2n60=v9PTnPfG+WCaMXaVkfCMPdUBQ+w@mail.gmail.com' \
--to=eriksoderquist@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).