This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

about cmd /c and Quote


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]