[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Winexec does not understand compound quotes
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?
> This is a FYI post -- just something I thought to share.
> The command -winexec- does not understand compound quotes.
> . 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: