To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 6437
6436  |  6438
Subject: 
Re: Future extension of dat files?
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 1 Oct 2001 19:23:50 GMT
Viewed: 
602 times
  
(Sorry, I hit "Post" too quickly just now)

I was playing around with Regedit.  I found the .dat key (under
HKEY_CLASSES_ROOT), and copied the settings from .dat to a new key, .ldr.  I
also changed the default file extension for application/x-ldraw to .ldr.

Everything seems to be hunky-dory.  When I click a [DAT] link from Lugnet,
the content pops up in L3Lab with a .ldr extension.  When I launch a .LDR
file from the desktop, it comes up in L3Lab.

Steve

In lugnet.cad.dev, Don Heyse writes:
In lugnet.cad.dev, Steve Bliss writes:
Is there any MIME-head out there who knows if multiple file extensions can
be directed at the same MIME-type?  I'd like to keep both DAT and LDR
registered/linked to application/x-ldraw on my system.

Heh, while searching for another tool I just discovered you can do
this on the command line in 2000.  Who would've guessed?  Typing:

   ftype /?

reveals the secret.  To add .ldr on my system would require typing:

   assoc .ldr=ldlite.document

The only tricky part is the substitution of "." for the space in
the filetype "ldlite document".  I don't know why they do that instead
of using the quotes like they do for long filenames.  Probably just
to make it as inconsistent as possible.  I expect it'll be completely
different in XP...

Have Fun,

Don



Message has 2 Replies:
  Re: Future extension of dat files?
 
(...) Here's a potentially dumb question: will we be changing the file format at all during the switch from .dat to .ldr, or will it still be the same text-readable setup we all know and love? Dave! (23 years ago, 1-Oct-01, to lugnet.cad.dev)
  Re: Future extension of dat files?
 
(...) I don't suppose you could humor me and type: assoc .ldr at a command prompt and tell me what you get. Since we seem to be standardizing on the .ldr extension and the application/x-ldraw, it might be nice to standardize the rest of the junk (...) (23 years ago, 1-Oct-01, to lugnet.cad.dev)

Message is in Reply To:
  Re: Future extension of dat files?
 
(...) Heh, while searching for another tool I just discovered you can do this on the command line in 2000. Who would've guessed? Typing: ftype /? reveals the secret. To add .ldr on my system would require typing: assoc .ldr=ldlite.document The only (...) (23 years ago, 1-Oct-01, to lugnet.cad.dev)

19 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR