This is the mail archive of the
cygwin
mailing list for the Cygwin project.
about cmd /c and Quote
- From: Pern <blueiris4 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 11 Feb 2010 11:08:06 +0800
- Subject: about cmd /c and Quote
- References: <4B737250.2040105@cn.fujitsu.com>
i want to run cmd like this in cygwin:
Âcmd /c echo "a b" Â Â Â--> "a b"
Âcmd /c echo "ab" Â Â Â --> Âab
but the second cannnot work right
because i really want to print out the "
i also try this:
Âcmd /c echo '"ab"' Â Â --> "\"ab\""
u see, the result is so strange
how can i to print a " ?
and what do cygwin do to my command Âcmd /c echo '"ab"' Â?
--
Best Regards
--------------------------------------------------
Pern
--------------------------------------------------
--
Pern
--
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