Creating Windows file associations for VW

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Creating Windows file associations for VW

Steven Kelly
I just copied my old disk to my new Windows 7 PC, and went looking for
how to associate .im files to VisualWorks.exe. The old Folder Options UI
was removed in Vista, and the new method is not exactly easy to
discover:

1) Start | All Programs | Accessories | right-click Command Prompt,
choose Run as Administrator

2) assoc .im=imfile

3) ftype imfile=c:\MY_VW_PATH\bin\win\VisualWorks.exe "%1" "%2" "%3"
"%4" "%5" "%6" "%7" "%8" "%9"

An online guide also suggests "regsvr32 /i shell32.dll", but I didn't
need that.

You can also hack the registry directly, or download one of several
freeware/cheap tools (which I didn't try):
http://www.nirsoft.net/utils/file_types_manager.html
http://izt.name/soft/types/
http://defaultprogramseditor.com/

Of course the installer (should) create this association anyway, and
VW's new launcher is another option, but in my case this was the best
approach. Feel free to suggest something better!

Steve

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Creating Windows file associations for VW

Boris Popov, DeepCove Labs (SNN)
Steve,

There's a simpler way,

1. Double-click on .im file
2. In the "Windows can't open this file" window pick "Select a program
from list of installed programs"
3. Use "Browse" to find and select VisualWorks.exe
4. Make sure "Always use the selected program to open this kind of file"
is checked
5. OK

HTH,

-Boris

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On
Behalf Of Steven Kelly
Sent: Friday, July 22, 2011 9:25 AM
To: [hidden email]
Subject: [vwnc] Creating Windows file associations for VW

I just copied my old disk to my new Windows 7 PC, and went looking for
how to associate .im files to VisualWorks.exe. The old Folder Options UI
was removed in Vista, and the new method is not exactly easy to
discover:

1) Start | All Programs | Accessories | right-click Command Prompt,
choose Run as Administrator

2) assoc .im=imfile

3) ftype imfile=c:\MY_VW_PATH\bin\win\VisualWorks.exe "%1" "%2" "%3"
"%4" "%5" "%6" "%7" "%8" "%9"

An online guide also suggests "regsvr32 /i shell32.dll", but I didn't
need that.

You can also hack the registry directly, or download one of several
freeware/cheap tools (which I didn't try):
http://www.nirsoft.net/utils/file_types_manager.html
http://izt.name/soft/types/
http://defaultprogramseditor.com/

Of course the installer (should) create this association anyway, and
VW's new launcher is another option, but in my case this was the best
approach. Feel free to suggest something better!

Steve

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Creating Windows file associations for VW

Steven Kelly
In reply to this post by Steven Kelly
Thanks Boris, that was the first thing I tried. If you do it that way, you can only pass one argument, the association doesn't show up in ASSOC and FTYPE, and you can't set a name for the file type. Not big problems for VisualWorks.exe, but important in other cases that I need.

Steve

> -----Original Message-----
> From: Boris Popov, DeepCove Labs [mailto:[hidden email]]
> Sent: 22. heinäkuuta 2011 16:32
> To: Steven Kelly; [hidden email]
> Subject: RE: [vwnc] Creating Windows file associations for VW
>
> Steve,
>
> There's a simpler way,
>
> 1. Double-click on .im file
> 2. In the "Windows can't open this file" window pick "Select a program
> from list of installed programs"
> 3. Use "Browse" to find and select VisualWorks.exe
> 4. Make sure "Always use the selected program to open this kind of
> file"
> is checked
> 5. OK
>
> HTH,
>
> -Boris
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
> Behalf Of Steven Kelly
> Sent: Friday, July 22, 2011 9:25 AM
> To: [hidden email]
> Subject: [vwnc] Creating Windows file associations for VW
>
> I just copied my old disk to my new Windows 7 PC, and went looking for
> how to associate .im files to VisualWorks.exe. The old Folder Options
> UI
> was removed in Vista, and the new method is not exactly easy to
> discover:
>
> 1) Start | All Programs | Accessories | right-click Command Prompt,
> choose Run as Administrator
>
> 2) assoc .im=imfile
>
> 3) ftype imfile=c:\MY_VW_PATH\bin\win\VisualWorks.exe "%1" "%2" "%3"
> "%4" "%5" "%6" "%7" "%8" "%9"
>
> An online guide also suggests "regsvr32 /i shell32.dll", but I didn't
> need that.
>
> You can also hack the registry directly, or download one of several
> freeware/cheap tools (which I didn't try):
> http://www.nirsoft.net/utils/file_types_manager.html
> http://izt.name/soft/types/
> http://defaultprogramseditor.com/
>
> Of course the installer (should) create this association anyway, and
> VW's new launcher is another option, but in my case this was the best
> approach. Feel free to suggest something better!
>
> Steve
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc