Windows software still has a somewhat standard “descript.ion” file that provides metadata for all / some of the files in this directory.
I know that there are various programs that write this file (example: NewsBin, UseNet downloader) and read it (example: "FAR", a file manager that mimics the old Norton Commander).
I am writing my own file indexer and would like to add the ability to parse and use information from descript.ion files.
The problem is that I could not find the actual specification for the file, succeeded in a large number of search engines.
I redid it as best as possible, but I'm not sure if I captured 100% of the possible details, so I decided that I would ask SO.
Here is an example line from a file:
"Rus Song1.mp3" SovietMus 1/2, rus_song@gmail.com, Fri Aug 08 00:46:27 2008 RusSong2.mp3 SovietMus 2/2, rus_song@gmail.com, Fri Aug 08 01:46:22 2008
The structure seems to be:
The first "token" is the file name.
If the token begins with any letter, but with a double quote, the token ends on the first space character.
If the token begins with a double quote, the end of the token is the next double quote
Not sure what will happen if the file name contains a double quote, IIRC is illegal on Windows file systems, so avoiding the quote may be a moot point)
The last token (end of line to the last comma moving backward) is a timestamp.
The second and last tokens (the last comma for the second or last comma moving backward) is the name of the poster from the Usenet newsgroup. I'm not quite sure what is going on in the general format, since only the descript.ion files that I saw were from NewsBin, which is obviously Usenet oriented.
All that is between them is a description, in the case of NewsBin, based on the topic topic.
Questions
Does anyone know a slightly more formal description / documentation of the descript.ion file? (or, at elast, your own knowledge of these files and you can check my specifications)
Does anyone know of any other programs that read or write this file?
Thanks!
windows file specifications
DVK
source share