Want to let variable pass to cygstart.

Mark J. Reed markjreed@gmail.com
Wed Mar 11 11:12:00 GMT 2009


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/



More information about the Cygwin mailing list