Subject:
|
Windows 2000 and MIME Types
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Tue, 6 Mar 2001 22:19:23 GMT
|
Viewed:
|
607 times
|
| |
| |
Hey, does anybody (besides me) use ldglite on Windows 2000?
I tried to capture what Steve and Tim worked out on MIME type setup
in Win2K for the ldglite README.TXT but I could use some verification
that it works. Is anyone willing to try this out for me?
---------------------------
For Internet Explorer in Win2k (and perhaps Millenium):
Thank you Micro$oft. In Win2k you can no longer create new MIME types
from an Explorer window. You must use regedit instead.
1) Start/Run
Type "regedit" in the box and click "OK"
2) Right click on HKEY_CLASSES_ROOT.
Add a new key and rename it to ".dat"
Right click on (Default) for this new key and modify the value.
Enter "ldlite.Document" for the Value data.
3) Right click on the key HKEY_CLASSES_ROOT/.dat
Add a new string value and rename it to "Content Type"
Right click on "Content Type" and select modify.
Change the Value data to "application/x-ldraw".
4) Find the key:
HKEY_CLASSES_ROOT/MIME/Database/Content Type.
Under this key, create a key for application/x-ldraw.
5) Under the application/x-ldraw key, create a string value:
"Extension", with data ".dat".
6) Quit regedit.
7) Open an Explorer window (or any folder window).
8) Select the "Tools->Folder Options" menu selection.
9) Go to the "File Types" tab.
10) Scroll down and double click on the "ldlite Document" line.
(On Win2K search for the "DAT" extension)
If there is no "DAT" extension line, click the "New" button
and then click on the "Advanced >>" button.
Enter "DAT" in the "File Extension" field.
and scroll to select "ldlite Document" for "Associated File Type".
(If you can't find it go back to step 1)
Press OK.
11) Press the "Advanced" button.
12) If "open" is not listed under "Actions" click the "New" button.
Otherwise click on "open" and then click "Edit".
13) In the "Actions" field, enter "open" if it's not already there.
For "Application...", browse to the location of ldglite.exe
(or l3glite.exe)
14) Add any extra command line arguments in the "Application..." field
Mine says this (I use the l3 parser and a small window):
C:\projects\ldglite\ldglite -l3 -v3 "%1"
15) Press enough OK buttons to finish this up.
-----------------------------
Another alternative is to use a .reg file. I think you can paste
the following into a file called ldglite.reg and run regedit ldglite.reg
to do it all at once. Of course you have to edit the path to ldglite.exe
below before running regedit. Is this too much work? Perhaps I should
include a new program in the zip file to do this stuff? Any thoughts on
this?
REGEDIT4
[HKEY_CLASSES_ROOT\.dat]
@="ldlite.Document"
"Content Type"="application/x-ldraw"
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-ldraw]
"Extension"=".dat"
[HKEY_CLASSES_ROOT\ldlite.Document]
@="ldlite Document"
"EditFlags"=dword:00000000
"AlwaysShowExt"=""
"BrowserFlags"=dword:00000008
[HKEY_CLASSES_ROOT\ldlite.Document\shell]
@=""
[HKEY_CLASSES_ROOT\ldlite.Document\shell\open]
[HKEY_CLASSES_ROOT\ldlite.Document\shell\open\command]
@="C:\\projects\\ldglite\\ldglite.exe -l3 -v3 \"%1\""
|
|
Message has 1 Reply: | | Re: Windows 2000 and MIME Types
|
| (...) I'll double-check this against my setup, when I have time. (...) It's kinda kludgy (from an app-design viewpoint), but you could include a parameter on ldglite (like -reg) to apply the registration settings. That way, users don't have to worry (...) (24 years ago, 7-Mar-01, to lugnet.cad)
|
Message is in Reply To:
| | Re: Windows 2000 and MIME Types?
|
| (...) I just installed Win2K, and here's what I did: First, I ran L3Lab, and did "File | Register File Types | .dat and .mpd". I believe doing this will tell Windows what to do when it gets a file with extension .dat (and .mpd). That's great, but (...) (24 years ago, 6-Feb-01, to lugnet.cad)
|
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|