|
This error occurs when someone else installed additional commands for Stata on this PC before. The reason is simply that Windows allows only the “owner” and administrators to change a file. To keep track of installed commands, Stata has to changesome files. If you were not the first person to install additional commands (or update) on the PC you are using, these tracking fileswill belong to someone else and you cannot change them.
The method to solve the renaming problem is to change the path where you install updates and additional commands. Foradditional commands this is the “Plus” path. You can check the current path with the sysdir command and change it by typing
sysdir set PLUS "H:\mypath"
sysdir
STATA: \\st-server5\stata10$\
UPDATES: \\st-server5\stata10$\ado\updates\
BASE: \\st-server5\stata10$\ado\base\
SITE: \\st-server5\stata10$\ado\site\
PLUS: c:\ado\plus\
PERSONAL: c:\ado\personal\
OLDPLACE: c:\ado\.
sysdir set PLUS "H:\ECStata".
sysdirSTATA: \\st-server5\stata10$\
UPDATES: \\st-server5\stata10$\ado\updates\
BASE: \\st-server5\stata10$\ado\base\
SITE: \\st-server5\stata10$\ado\site\
PLUS: H:\ECStata\
PERSONAL: c:\ado\personal\
OLDPLACE: c:\ado\
|