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]

Re: Re: Want to let variable pass to cygstart.


On Wed, Mar 11, 2009 at 5:05 AM, Phil Betts wrote:
> Except that single quotes will also prevent variable substitution. ÂIf
> you want to use metacharacters AND variables, you have to use the
> backslash to escape the metacharacters.

...or just use double quotes instead, which allow variable
substitution and also the non-variable-substitution metacharacters
like &.

cygstart "http://www3.interscience.wiley.com/cgi-bin/fulltext?ID=$MyWileyID&PLACEBO=IE.pdf&mode=pdf";


-- 
Mark J. Reed <markjreed@gmail.com>

--
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/


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