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   "Nuno" <liststata@gmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Opening a dta file directly from Explorer, Stata 9, Windows Vista
Date   Mon, 10 Dec 2007 21:29:18 -0000

I had a similar problem after installing Stata 10/MP under WinXP... It was
working fine with Stata10/SE and when installing Stata10/MP it lost the
files association and every time I tried to open a file Stata returned an
error (can't remember which one). To solve this, I went to
Edit->Preferences-> restore file associations, in Stata. You may have to
restart the computer.

Hope it helps.

Nuno

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Delia Ionascu
Sent: segunda-feira, 10 de Dezembro de 2007 18:51
To: Gabi Huiber
Cc: statalist@hsphsun2.harvard.edu
Subject: Re: st: Opening a dta file directly from Explorer, Stata 9, Windows
Vista

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/

*
*   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–2022 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index