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
[email protected]
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/