Statalist


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

Re: RE: st: Opening a dta file directly from Explorer, Stata 9,Windows Vista - now it works!


From   Delia Ionascu <[email protected]>
To   [email protected]
Subject   Re: RE: st: Opening a dta file directly from Explorer, Stata 9,Windows Vista - now it works!
Date   Tue, 11 Dec 2007 10:07:47 +0100

Great. Thanks a lot to all that have tried to help me!

In the end I combined different suggestions to make my Stata 
work properly. In the case someone faces the same problem, here you 
have what I did:
1. Using Explorer I went to the folder where I installed Stata and I 
have created there a shortcut to wsestata.exe
2. Right-click on the shortcut; then choose Properties; then in Target 
write
C:\Stata9\wsestata.exe use "%1"
3.Next, I went to Control Panel; then to Default Programms; next to 
Associate a file type or protocol with a program; than I selected dta 
files (you can also add them if they are not already there); then 
Change program ...; and then, instead of leaving Stata as it was I 
went to Browse ... and then I selected the shortcut I have created 
instead of the program itself.

Maybe there is an easier way to this, but this works for sure.

Thanks again,
Delia



----- Original Message -----
From: Nuno <[email protected]>
Date: Monday, December 10, 2007 10:37 pm
Subject: RE: st: Opening a dta file directly from Explorer, Stata 9, 
Windows Vista
To: [email protected]

> 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: [email protected]
> [mailto:[email protected]] On Behalf Of Delia 
> IonascuSent: segunda-feira, 10 de Dezembro de 2007 18:51
> To: Gabi Huiber
> Cc: [email protected]
> 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 
> configuringthe Stata exe file but I couldn't. This Vista is so 
> different from XP!
> 
> Thanks again,
> Delia
> 
> 
> ----- Original Message -----
> From: Gabi Huiber <[email protected]>
> Date: Monday, December 10, 2007 7:40 pm
> Subject: Re: st: Opening a dta file directly from Explorer, Stata 
> 9, Windows
> Vista
> To: [email protected]
> Cc: [email protected]
> 
> > 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 <[email protected]> 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/
> 
> 

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