Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Should tempfile names always be quoted nowadays?

Subject   Re: st: Should tempfile names always be quoted nowadays?
Date   Wed, 21 Feb 2007 09:27:25 -0600

Roger Newson <> asks about putting quotes
around tempfile names.

> ... Does Stata have a policy on handling tempfile names with
> embedded spaces (and other unusual characters)? And, in future,
> when writing cross-platform ado-files, would users be recommended
> to use simple compound quotes, or to use compound double quotes,
> or to use something else again, to protect against even more
> unusual characters in tempfile names?

Here at StataCorp we now try to put filenames--including tempfile
names--in double quotes, and usually compound double quotes for
added safety.  The double quotes will take care of the problem of
having spaces in the path or file name.  Compound double quotes
are maybe a bit of an overkill, but will protect against truly
strange path or file names.

Ken Higbee
StataCorp     1-800-STATAPC

*   For searches and help try:

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