Statalist


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

Re: st: Renaming File Names


From   n j cox <n.j.cox@durham.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Renaming File Names
Date   Tue, 06 May 2008 20:15:44 +0100

Yes. Do your name manipulation using the usual string functions, macros, whatever, then call up your operating system using !.

Nick
n.j.cox@durham.ac.uk

Raphael Fraser

Is it possible to rename the file names below using the first four
characters in the file name in Stata?

018b_crp_13april08.0101.csv
020b_crp_26apr08.0101.csv
027b_crp_05april08.0101.csv
032bb_crp_06april08.0101.csv


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