This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Run cmd.exe with /c.
On 2010.03.23 9:26, Linda Walsh wrote:
Also if you want to use comspec, use it with cygpath:
$(cygpath $COMSPEC) /c dir
I try add
$(error $(cygpath d:/tmp))
and
temp:
echo $(cygpath d:/tmp)
But it seems $(cygpath ) not expanded to Cygwin path.
My solution use
$(subst \,/,$(COMSPEC))
or
$(shell cygpath -u d:/tmp)
--
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