Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[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 <partho.ss@gmail.com>
To   statalist@hsphsun2.harvard.edu
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
partho.ss@gmail.com

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


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index