Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Re: Prompt user of ado file for input & output file names & path
From 
 
Partho Sarkar <[email protected]> 
To 
 
[email protected] 
Subject 
 
st: Re: Prompt user of ado file for input & output file names & path 
Date 
 
Mon, 4 Jul 2011 17:17:27 +0530 
This may be a very basic question!  I am writing an ado file which
will take a data file, perform some operations on the data, and write
the resulting data to another file.  How could I write commands to ask
the user to enter the names (with paths) of the input & output files?
This could be either in the form of displaying a text box/boxes for
the file names or, much more preferably, allow the user to browse (in
Windows) to the directory & input file.
Many thanks
Partho Sarkar
[email protected]
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/