home *** CD-ROM | disk | FTP | other *** search
-
- New Directory version 6.1 Ron L. Smith
- 3615 Sheridan St.
- Clovis, NM 88101
-
- New Directory is a (obviously) directory listing program. It will display
- the directory in 3 columns. Filenames, extensions, sizes (or the <DIR>
- designator), and the file attributes will be shown. Files are color-coded
- by extension: COM light green, BAT light red, <DIR> light magenta, etc.
- However, all hidden files are displayed in RED. The file attributes are as
- follows: A - Archive, R - Read-Only, S - System, H - Hidden, D - Directory.
-
- New Directory supports a maximum of 400 files in a single directory. If
- more than 400 files are present, they will not be reported.
-
- Examples of use:
-
- 1) C:\> ND shows all files in root directory of drive C
- 2) C:\> ND A: shows all files in current directory of drive A
- 3) C:\> ND \SYS\ shows all files in SYS sub-directory of drive C
- 4) C:\> ND \DOS\*.EXE shows all .EXE files in DOS sub-dir of drive C
- 5) C:\> ND /E shows all .EXE files in current directory of drive C
- 6) C:\> ND /D shows all sub-directories in current dir of drive C
- 7) C:\DOS\SYS> ND ..\ shows all files in C:\DOS directory of drive C
-
-
- To display all files in a sub-directory, it is not necessary to add the *.*
- to the command line (see examples 3 and 7 above), but it IS necessary to
- add the trailing backslash to the directory name.
-
- Version history:
-
- 2.0> Added *.* when specifying a sub-directory ( ND \SYS\ ).
-
- When specifying a drive other than the default, the root directory was
- always shown. Changed to show the current directory of the specified
- drive.
-
- Display of volume label added.
-
- When displaying an empty sub-directory, no files were shown and no message
- was given. The message `Parent/Grandparent directories only.' was
- added.
-
- Screen write method was changed to increase output speed.
-
- Because of the way the program flagged Directories, files with a DIR
- extension were sometimes displayed as a directory ( <DIR> ). This was
- corrected.
-
- When displaying a directory other than the current one (C:\> ND \SYS\*.C),
- the file attributes were not shown. This was corrected.
-
- 2.1> Video output changes.
-
- 2.2> Video output changes.
-
- 2.3> Video output changes.
-
- 3.0> When in a sub-directory and no files existed, ND displayed `Parent/
- Grandparent Directories Only'. This has been changed to show the . and
- .. standards reported by DOS.
-
- The listing is now sorted in alphabetical order by Filename.
-
- 3.1> When attempting to display files by a designated extension (i.e., *.SYS),
- if the file(s) matching the descriptor were hidden, no files were
- reported. This has been corrected.
-
- When in a sub-directory and attempting to display only one type of files
- (e.g., C:\DOS> ND *.COM), the program reported the root directory (that
- would be C:\*.COM for the stated example in the line above). The
- program now correctly reports the current directory.
-
- If you were on the D drive, and the current directory on the C drive was
- DOS (for example), the command ND C:*.SYS would be translated as
- C:\DOS\*.*. The program now correctly reports the designated files and
- does not convert the command to a *.* before output.
-
- At times, ND.COM would print strange characters for the volume label, or
- take an undue amount of time in determining the legality of the label.
- This was due to a filtering process (loop) and would sometimes end with
- attempting to output a NULL pointer. The illegal character filter has
- been removed, as has the erroneous pointer. Volume labels should now
- be 100% accurate. (Note that some commercial disks have volume labels
- which have characters deemed `illegal' by DOS. This should not affect
- the operation of New Directory).
-
- Files with a .ZIP extension are now displayed in yellow, .ARC files
- are displayed in brown, and .C files are displayed in white. These
- are changes from previous version colors.
-
- 3.3> Changed sorting algorithm. The method now employed is 20 to 25 percent
- faster than that used by versions 3.0 and 3.1.
-
- 3.4> New Directory now displays the total bytes for the files specified on the
- command line.
-
- 3.5> Added routines to increase display speed.
-
- 4.0> Added a routine to remove the cursor flash.
-
- 5.0> Completely restructured the sorting algorithm for faster display on
- slower computers.
-
- 5.1> Added support for different displays. Before, if an EGA display was in
- 43 line mode, or VGA in 43 or 50 line mode, the pause still acted as if
- you were in 25 line mode. Support has been added for all display lengths,
- regardless if they are standard or not. So, if you have a 33 line
- display set, the pause will recognize it. However, anything other than
- 80 column display is not supported. This support has only been tested
- with the DOS MODE utility. Compatibility with other screen display
- setting products is unknown.
-
- 6.0> Again, wrung out the code to make it a little more efficient (speed and
- size).
-
- Colors for file extensions are now as follows:
- COM = Light Green
- EXE = Light Cyan
- BAT = Light Red
- SYS = Magenta
- DOC/TXT = White
- <DIR> = Light Magenta
- C/CPP/ASM/BAS/PAS = Cyan
- ZIP/ARC/LZH/ZOO/ARJ = Yellow
- Hidden = Red
- All Others = Light Gray
-
- Added box characters to left and right margins.
-
- Found (finally) why that ND ..\ would not work correctly. Fixed.
-
- 6.1> During the troubleshooting process of the ND ..\ problem when updating
- the code to 6.0, the support for 43/50 line modes was left out of
- the release. Added back in.
-
- Added the use of command line switches for current dir use:
-
- Usage: ND [drive:][path][filename.ext] or ND [/switch] or ND [-switch]
-
- Either switch character can be used (/ or -). Here are the commands:
-
- /B show all BAT files in current dir (same as ND *.BAT)
- /C show all COM files in current dir (same as ND *.COM)
- /D show all sub-directories in current dir (no prior equivalent)
- /E show all EXE files in current dir (same as ND *.EXE)
- /P show all program source files in current dir -
- C, ASM, CPP, BAS, PAS (no prior equivalent)
- /S show all SYS files in current dir (same as ND *.SYS)
- /T show all text files in current dir -
- TXT, DOC (no prior equivalent)
- /X show all executable files in current dir -
- BAT, COM, EXE (no prior equivalent)
- /Z show all archived files in current dir -
- ZIP, ARC, ARJ, LZH, ZOO (no prior equivalent)
-
- As of this release, drive and/or path specifications cannot be used
- in conjunction with short-cut switches.
-
- If anyone observes any problems with New Directory's operation, please write
- to me at the above address. Also, you can leave a message for me on
- Spycom BBS, Clovis, NM, (505)784-3157 (USR HST 14.4k modem).
-
-