help profile
-------------------------------------------------------------------------------
Title
[GSM] C.1 Executing commands every time Stata is started
[GSU] C.1 Executing commands every time Stata is started
[GSW] C.3 Executing commands every time Stata is started
Description
Stata first looks for the file sysprofile.do when it is invoked. After
that, Stata looks for the file profile.do. If either of these files are
found, Stata executes the commands they contain.
For operating-system specific information, see
help profilem (Stata for Mac)
help profileu (Stata for Unix)
help profilew (Stata for Windows)
See [U] 16 Do-files for an explanation of do-files. They are nothing
more than text (ASCII) files containing a sequence of commands for Stata
to execute.
Also see
Manual: [GSM] C.1 Executing commands every time Stata is started,
[GSU] C.1 Executing commands every time Stata is started,
[GSW] C.3 Executing commands every time Stata is started
Help: [R] do, [R] doedit