delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/10/22:31:00

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 <hongyi DOT zhao AT gmail DOT com>
Subject: Want to let variable pass to cygstart.
Date: Wed, 11 Mar 2009 11:30:02 +0800
Lines: 24
Message-ID: <nkber4delvo8ob4tm437av4k6fnblgbggr@4ax.com>
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019