In Stata, how do I change the path to user-written ado files?
By default, Stata for Windows uses the
directory for user-written ado files. You can list Stata's system
directories by executing the
.sysdir STATA: C:\Program Files\Stata11\ UPDATES: C:\Program Files\Stata11\ado\updates\ BASE: C:\Program Files\Stata11\ado\base\ SITE: C:\Program Files\Stata11\ado\site\ PLUS: c:\ado\plus\ PERSONAL: c:\ado\personal\ OLDPLACE: c:\ado\
If you need to change the default path, run the
set command. Suppose you store Long and Freese's SPost module
e:\ado\plus directory of a memory stick or flash
card. You would then need to run the following command:
.sysdir set PLUS "e:\ado\plus" or .sysdir set PERSONAL "e:\ado\plus"
Stata will then find user-written commands in the
If you have questions about using statistical and mathematical software at Indiana University, contact Research Analytics. Research Analytics is located on the IU Bloomington campus at Woodburn Hall 200; staff are available for consultation Monday-Friday 9am-noon and by appointment.
This is document arur in the Knowledge Base.
Last modified on 2015-06-23 00:00:00.
- Fill out this form to submit your issue to the UITS Support Center.
- Please note that you must be affiliated with Indiana University to receive support.
- All fields are required.