Contents of the DLIST.DOC file

DLIST.EXE creates scripts that can be used to change directoriesmore easily than using the Tools menu. It also removes thetedious task of creating and modifying a similar script for allyour directories. If you create a new directory, or remove one,all you have to do to update the CHGDIR script is run DLIST inthe new directory, or run it in the parent from which you removedthe old directory. A whole new script will be written thatincludes all the correct directories in the menu.

To use DLIST.EXE as is, first put the program in a directorythat is included in your PATH. Then, wherever there is adirectory that you use for Paradox files, go there and run DLIST.It will create an appropriate CHGDIR.SC in that directory.Each script will include only the directories that areaccessible directly from that current working directory.

To automate the script CHGDIR.SC, just create a startup scriptto run every time you run Paradox, and include a line init something like this one:

setkey -32 play "chgdir" DO_IT!

(-32 is ALT-D)

so that when you type Alt-D, the change directory menu willautomatically come up. The choices you see will always be thedirs accessible from the current one.Remember that you don't want to do this:

setkey -32 play "\px\chgdir"

unless you change the C program to write a script that can handleit (which is rather simple, but another approach).

Which brings up a point:

While the included program, dlist.exe, can be used as is, you'llprobably enjoy the results more if you modify the source codeto create just the kind of script you prefer. Only the barebones have been included here to get anyone started. The C codeis brute force, any elegance is purely accidental, but thatshould make it easier to modify for those who aren't C-Whizzes.For example, you could use the Paradox format function to makethe directory names look nicer (first letter caps, rest lowercase), and simply add the code to the C source to have thatfunction come up in the script it creates.