[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: saving all file names in directory/folder
From
Phil Schumm <[email protected]>
To
[email protected]
Subject
Re: st: saving all file names in directory/folder
Date
Thu, 17 Apr 2008 14:12:18 -0500
On Apr 17, 2008, at 1:53 PM, Phil Schumm wrote:
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.
I must apologize -- I was wrong. The Windows users here have
informed me that
- DOS services since 2.0 and all Windows APIs have always
accepted either
forward or backward slashes, but
- the standard command shells (CMD or COMMAND) only accept
backward slashes
The latter is all I have ever used under Windows, which was the
source of my misunderstanding. Serves me right for commenting on
something I know nothing about ;)
-- 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–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |