This is the mail archive of the
mailing list for the Cygwin project.
cygpath -w and .exe magic
- From: "Nellis, Kenneth" <Kenneth dot Nellis at xerox dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Fri, 26 Aug 2016 13:08:02 +0000
- Subject: cygpath -w and .exe magic
- Authentication-results: sourceware.org; auth=none
Dear Cygwin Community,
$ ls -l
-rwxr-x--- 1 knellis Domain Users 60927 Aug 26 08:57 hello.exe
$ cygpath -w hello
The purpose of cygpath -w, it seems to me, is to provide
to Windows a valid path given a Posix path.
Given executable file foo.exe, which Cygwin allows to be
referenced simply as foo, should not: cygpath -w foo
instead of: foo
Passing foo to a Windows application will certainly
be a problem. I recognize this might be considered a
change of scope for the program, but I think the tool
should do the .exe magic rather than pass off this
responsibility to the user. Food for thought.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple