I do contract work for a living, which could include writing a program such as this. However, I don’t do people’s homework for them. That just robs them of an education.
You have my full permission to implement this project any way you please.
Your task is to create a utility to make entering and viewing these descriptions easier. The descriptions are stored in each directory in a hidden file called DESCRIPT.ION. It looks something like this:
Files without descriptions are not present, and sometimes there are dead descriptions for files that were previously deleted. The descriptions may be in any order. In pathological situations, there may be duplicates.
Your utility will display this information in two scrolling columns. The user can enter new descriptions. The user can enter descriptions for files that don’t have descriptions yet. The user can click a button to sort by filename, extension, size or date. On exit, you sort and save and make DESCRIPT.ION hidden again. There is an option to exit without saving changes in case you have made a real botch of things.
There is a optional wildcard command line parameter to limit the files listed.
I have written a Java class called FourTidy that tidies the DESCRIPT.ION file, sorts, removed duplicates and orphans. It also creates a human-readable text version of the file. If you tackle this project I would be happy to send you the source.
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.17] | The information on this page is for non-military use only. | ||
| You are visitor number 6,161. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/project/describer.html | J:\mindprod\project\describer.html | ||