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   Matthew White <[email protected]>
To   [email protected]
Subject   Re: st: Double-click to open .doh file
Date   Tue, 23 Jul 2013 11:00:50 -0400

Thank you, Sergiy and Marta. That seems like it should work. I also
suspect that ASSOC on the command line would do the trick:

assoc .doh=Stata12Do

I'm running into permissions issues that I'll discuss with my system
administrator. Until then, I'm opening .doh files with a batch file
that contains this command:

start "" "C:\Program Files (x86)\Stata12\StataSE-64.exe"
/UseRegistryStartin doedit %1

Thanks again,
Matt

On Tue, Jul 23, 2013 at 2:24 AM, Marta García-Granero
<[email protected]> wrote:
> 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/



-- 
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/


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