4DOS/4NT Describe Helper 4DOS/4NT Describe Helper
home Student Projects no local find frame, full screen Google search web for topic jump to footer translate with Babelfish by Roedy Green ©1996-2008 Canadian Mind Products
This essay is about a suggested student project in Java programming. This essay gives a rough overview of how it might work. It does not describe an actual complete program. I have no source, object, specifications, file layouts or anything else useful to implementing this project. Everything I have to say to help you with this project is written below. I am not prepared to help you implement it; I have too many other projects of my own.

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.

4DOS and 4NT are command.com replacements that add a richer set of commands to the DOS box. One command is called DESCRIBE which allows you to create a one line description for each file. These automatically follow files when they are copied. The DESCRIBE command is quite clumsy for adding these descriptions or viewing them.

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:

freewh~1.zip Freewheel mouse driver
aezs1a.exe Easy scheduler
aspi32.exe Adaptec ASPI 4.6
"atmnt40ue_1of1.exe" Adobe ATM 4.0 deluxe purchased
awent40.exe Sound blaster NT drivers
cdc-35a.exe Adaptec CDRW update to 3.5

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.


CMP_homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.18] The information on this page is for non-military use only.
You are visitor number 6,173. 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