Bookmark and Share

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]

Re: st: Stata 11 64-bit no longer runs my profile.do automatically


From   Gary Longton <glongton@fhcrc.org>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Stata 11 64-bit no longer runs my profile.do automatically
Date   Wed, 02 Feb 2011 10:53:11 -0800

<>
John,

Though there are probably several solutions for the location your profile.do (see -help profilew-), one that has worked for me in the context of 64-bit Stata 11 on Windows 7 is to place it in c:\ado.

c:ado should be in Stata's default adopath when it starts up (see -help sysdir-), though the adopath is one of the things I modify in my profile.do. Stata seems to find the profile.do here and run it whether started from clicking on a Stata dataset or starting from the Stata desktop icon.

- Gary

On 2/2/2011 9:29 AM, John LeBlanc wrote:

For years, I have been able to double-click on a Stata data file, have
it automatically open in Stata, have Stata open in the folder where the
.dta file resides, and run my profile.do file that contains all of my
customizations. This worked up until version 9.2 32-bit running in
Windows 7 64-bit professional. I modified the "open" command for the
file type .DTA as follows:

This works with Stata 9.2 on Windows 7
C:\Progra~2\STATS\STATA\wstata.exe do
c:\progra~2\stats\stata\john\profile.do "%1"

This does not work with Stata 11 64-bit on Windows 7
Action for 'Open' under filetype .dta
"C:\Program Files (x86)\Stats\Stata\Stata-64.exe" do
c:\progra~2\stats\stata\john\profile.do "%1"


Is this stored in a different location on the registry? has something
else changed?
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index