X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.2 required=5.0 tests=AWL,BAYES_20,J_CHICKENPOX_64,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Hongyi Zhao Subject: Want to let variable pass to cygstart. Date: Wed, 11 Mar 2009 11:30:02 +0800 Lines: 24 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi all, The following code will work: cygstart http://www3.interscience.wiley.com/cgi-bin/fulltext?ID=108568046&PLACEBO=IE.pdf&mode=pdf But, if I use the following codes: MyWileyID = 108568046 cygstart http://www3.interscience.wiley.com/cgi-bin/fulltext?ID=$MyWileyID&PLACEBO=IE.pdf&mode=pdf The above codes will fail, while the following ones will does the trick: MyWileyID = 108568046 cygstart http://www3.interscience.wiley.com/cgi-bin/fulltext?ID=$MyWileyID\&PLACEBO=IE.pdf\&mode=pdf Any hints on this issue? -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/