Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Opening a dta file directly from Explorer, Stata 9,Windows Vista


From   Delia Ionascu <di.eco@cbs.dk>
To   Gabi Huiber <ghuiber@gmail.com>
Subject   Re: st: Opening a dta file directly from Explorer, Stata 9,Windows Vista
Date   Mon, 10 Dec 2007 19:51:22 +0100

Thanks a lot for the answer.
I have tried this but my problem is that in Windows Vista I don't see 
how I can edit the command that runs Stata. I have tried from the 
place where one can associate a file type with a programm and also 
directly by configuring the Stata exe file but I couldn't. This Vista 
is so different from XP!

Thanks again,
Delia


----- Original Message -----
From: Gabi Huiber <ghuiber@gmail.com>
Date: Monday, December 10, 2007 7:40 pm
Subject: Re: st: Opening a dta file directly from Explorer, Stata 9, 
Windows Vista
To: statalist@hsphsun2.harvard.edu
Cc: di.eco@cbs.dk

> Don't know about Vista, but on the chance that it's similar to XP, 
> heregoes:
> 
> If you look at any folder in XP Explorer, under the Tools menu 
> there is a
> Folder Options line. That opens a box with a File Types tab. That 
> tab lists
> all file extensions on your computer and their associated 
> software. Now:
> 
> Highlight .dta and click on the Advanced button. Then highlight 
> the "open"
> action and click on the "Edit" button.
> 
> The box labeled "Application used to perform this action" should read
> exactly like so:
> 
> "C:\Program Files\Stata9\wstata.exe" use "%1"
> 
> unless your wstata.exe is on some other file path, which I doubt.
> 
> What this essentially means is that it is not enough to just tell 
> Windows to
> launch "C:\Program Files\Stata9\wstata.exe" when you click on a 
> .dta file.
> Rather, you must instruct it to execute Stata's use command when 
> you click
> on such a file.
> 
> If it's different under Vista, good luck.
> 
> Gabi
> 
> On Dec 10, 2007 12:20 PM, Delia Ionascu <di.eco@cbs.dk> wrote:
> 
> > Dear all,
> >
> > I have just installed Stata 9 on a computer that uses Windows Vista
> > Premium as operating system.
> >
> > I am now trying to open a data file (dta) directly from 
> Explorer, but
> > after I have authorized the system to run Stata 9, Stata, 
> instead of
> > running
> > use + the dta file
> > tries to run only the dta file and thus I get an error message.
> >
> > I thought to change the command that starts Stata, either when
> > associating dta files with Stata program, or by right clicking 
> on the
> > Stata program and going to Properties. I did not succeed in any 
> of the
> > cases as I didn't see where I could specify myself which command is
> > executed when Stata starts running. Do you know how this problem 
> could> be overcome?
> >
> > Kind regards,
> > Delia Ionascu
> >
> >
> > *
> > *   For searches and help try:
> > *   http://www.stata.com/support/faqs/res/findit.html
> > *   http://www.stata.com/support/statalist/faq
> > *   http://www.ats.ucla.edu/stat/stata/
> >
> 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index