Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Winexec does not understand compound quotes


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Winexec does not understand compound quotes
Date   Sun, 13 Jun 2004 17:57:22 +0100

As I understand it, -winexec- passes its arguments to the OS, 
Windows whatever. There is no reason to expect Windows 
to understand `"  "' which I believe to be a Stata 
peculiarity. But then in your example the `" "' 
are not necessary, so what are you missing? 

Nick 
n.j.cox@durham.ac.uk 

Renzo Comolli
 
> This is a FYI post -- just something I thought to share.
> 
> The command -winexec- does not understand compound quotes.
> E.g.
> . winexec "C:/Program Files/Windows NT/Accessories/wordpad.exe"
> works properly (assuming you have Windows XP), but
> . winexec `"C:/Program Files/Windows NT/Accessories/wordpad.exe"'
> does not.
> 
> This behavior has little importance and I imagine the reason why that
> happens; I just thought I would comment on it given that I 
> did not find it
> documented anywhere (and it is an exception to my rule of 
> thumb that you
> can't go wrong by using compound quotes)

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index