X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4B737250.2040105@cn.fujitsu.com> References: <4B737250 DOT 2040105 AT cn DOT fujitsu DOT com> Date: Thu, 11 Feb 2010 11:08:06 +0800 Message-ID: <34ec1f981002101908s596af46fy4d87d3a31e7f51c5@mail.gmail.com> Subject: about cmd /c and Quote From: Pern To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com i want to run cmd like this in cygwin: =C2=A0cmd /c echo "a b" =C2=A0 =C2=A0 =C2=A0--> "a b" =C2=A0cmd /c echo "ab" =C2=A0 =C2=A0 =C2=A0 --> =C2=A0ab but the second cannnot work right because i really want to print out the " i also try this: =C2=A0cmd /c echo '"ab"' =C2=A0 =C2=A0 --> "\"ab\"" u see, the result is so strange how can i to print a " ? and what do cygwin do to my command =C2=A0cmd /c echo '"ab"' =C2=A0? -- Best Regards -------------------------------------------------- Pern -------------------------------------------------- --=20 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