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: Double-click to open .doh file


From   Marta García-Granero <[email protected]>
To   [email protected]
Subject   Re: st: Double-click to open .doh file
Date   Tue, 23 Jul 2013 08:24:26 +0200

Hi Matthew

Use Notepad or whatever to create a file named doh.reg with the following content:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.doh]
@="Stata12Do"

Doble click it on it to combine its content with the registry. Check that .doh files are opened correctly after double clicking on them.

HTH,
Marta GG

El 22/07/2013 16:41, Matthew White escribió:
Hi all,

Using Stata 12.1 SE on Windows 7, I've just started using .doh files
with -include-. I'd like to be able to double-click on a .doh file to
open it in the do-file editor, as I do with do-files, but the .doh
file extension isn't associated with Stata. When I set up the
association myself, I get this error message when I double-click:

. "C:\Users\matthew\Documents\Do-files\header.doh"
unrecognized command:  "C:\Users\matthew\Documents\Do-f invalid command name
r(199);

Has someone set up this association successfully? Any suggestions
would be appreciated.

Thank you,
Matt

--
Matthew White
Senior Project Associate
Innovations for Poverty Action
101 Whitney Avenue, New Haven, CT 06510 USA
www.poverty-action.org
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index