Statalist


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

Re: st: saving all file names in directory/folder


From   Phil Schumm <pschumm@uchicago.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: saving all file names in directory/folder
Date   Thu, 17 Apr 2008 13:53:01 -0500

On Apr 17, 2008, at 1:19 PM, Gabi Huiber wrote:
When reading directory paths in Stata, always use forward slashes.
<snip>

Windows does not care. Unix would, but that's not the reason for this advice.

A minor correction. Windows does care -- it expects to see paths separated by "\" just as Unix/Linux/OS X expect to see paths separated by "/". The fact that you can use forward slashes in your Stata code and have it work on all platforms is courtesy of Stata.


-- Phil

*
* 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