Statalist


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

st: Case Sensitive filenames and filepaths


From   Sean Williams <sean@socialscience.net>
To   statalist@hsphsun2.harvard.edu
Subject   st: Case Sensitive filenames and filepaths
Date   Tue, 08 Apr 2008 12:59:36 -0500

Dear Statalisters,

I apologize if this is an obvious question, but does anyone know a way to return a list of files or directories that preserves case? Something like:
--local filelist : dir "C:\files" files ".txt"--
will fill the macro filelist with the .txt files in "C:\files", but the file names in the macro are all lowercased, whereas the file names in "C:\files" have some capital letters.

I ask because I need to create a running list of text files, but I have no control over what they are named. I'm still using version 9.2 (unfortunately).

Many thanks,
Sean

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