DDIR Ý Ý Version 13.0 Ý Ý ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÝ Note: this package contains the following files, zipped with PKZIP 2.04g: DDIR.EXE - the program DDIRCFG.COM - customization program DDIR130.DOC - documentation UPGRADE.TXT - important information XDUPE.COM - file necessary for copy/move functions DDUSERF2.BAT - (sample) DDIRUSER.LST - blank file listing user-defined functions FILE_ID.DIZ - brief description for BBS use DDIR ßßßß Purpose: gives a forward/backward scrollable double-column directory display. Protected files are flagged with a "+", system files with a "$", hidden files with a "*". Files created today are shown in a different color. Toggles w, x, y and z allow rapid on-screen display of file size in different ways - the file size reported by DOS, the total space ACTUALLY required to store the file, the dead space "wasted" by the file, and the file "storage efficiency" which is simply the ratio of file size to space actually required for storing the file. (Depending on your DOS version and/or hard drive type, a certain minimum amount of space is required for all files. For example, a 10 byte batch file may actually use 512 bytes on a floppy disk and 32kb of your network drive! The dead space is the amount of disk space wasted by a file.) DDIR allows to mark files for deletion, and delete them and re-list. You can view files using the author's VIEW utility and Vernon Buerg's LIST utility. DDIR includes a facility to pack files into ZIP, ARJ, SQZ, ZOO or LZH archives, and of course to unpack from those archives. You do, of course, need the programs pkzip/pkunzip, etc. in order to use this feature. You can also uuencode and uudecode files. You can also change directories from within the file list and exit either to the starting drive/directory or to the currently displayed drive/directory. DDIR reports as a summary total file size, total space actually for the file(s) specified. TAKE A LOOK AT THE STORAGE EFFICIENCY FOR THOSE SMALL BATCH FILES!! DDIR allows you to sort directory listings alphabetically, by size, extension, age, attribute or storage efficiency, and to instantly (well, almost!) resort or reverse the sort order. For lists that require more than one screen, you can also scroll back and forth. You can toggle write-protect on and off for files (i.e. make them read-only or read-and-write). You can copy files from the current list to another location. Please note that DDIR reports the count of files and subdirectories separately, unlike the DOS dir command. USAGE ßßßßß Notes: Use the same way as the DOS dir command. Wild-card characters are allowed. Usage: ddir [d:][path][file.ext] Examples: directory of current drive and directory ddir list of .COM files on drive a - ddir a:*.com list of files of directory "one', drive c - ddir c:\one Keys: F1 - help screens Shift F1 - shows list of user-defined functions Esc - exit to home drive and directory q - exit to currently displayed drive and directory. t - mark/unmark files individually for deletion, for archiving (packing), or for copying Shift-t - mark/unmark all files Del - delete any marked files and re-list. a - sort by file attribute (system, hidden, directory etc.) b - back up highlighted file c - toggle upper/lower case display d - sort by file date e - sort by extension f - sort by file "storage efficiency" k - pack (archive) tagged files ( ZIP, ARJ, SQZ, ZOO or LZH archives). You can also uuencode and uudecode files. Note: in order to use this feature, these programs must be present in a directory that is specified in the PATH statement in your AUTOEXEC.BAT file. l - view highlighted file with LIST (by Vernon Buerg) m - move tagged files (they can optionally be deleted from the source drive). NOTE: In order to use this function the file xdupe.com MUST be installed in the same directory as ddir.exe. xdupe can also be used as a standalone program - see below. n - sort by file name p - toggle file protect/unprotect (i.e. read-only or read and write) r - reverse sort order s - sort by size u - unpack selected file using pkzunzip.exe, etc. (and uudecode). v - view highlighted file with VIEW (for WordPerfect 5.0-6.1, DOS Word 4-5.5, WinWord 1-6, Win Write, Ami Pro, ASCII, ANSI, Wordstar, HTML) w - show file "wasted space" x - show file total space y - show DOS file size, wasted space and individual storage efficiency z - show file size reported by DOS PgDn - next screen PgUp - previous screen Home - go to beginning of list End - go to end of list Up arrow - move down current screen list Down arrow - move up current screen list Right arrow - move to right Left arrow - move to left Enter - change to highlighted directory Ins - print directory listing, including via Tony Caine's compressed print utilities 2COL and JETCOL. If you choose this option you should have the directory containing 2COL or JETCOL in the PATH statement in your autoexec.bat file. F2-F9 - user-defined functions defined by dduserf2.bat, dduserf3.bat to dduserf9.bat. If a %1 is specified in the batch file the action specified in the file is on the currently highlighted file. If no %1 is given the action is simply that specified - such as bringing up a calculator. See the example dduserf2.bat. NOTE: the naming convention refers to the function key that calls the batch file. F10 - change drive. A list of all available drives will be displayed; simply type in the letter of the drive you want and press "Enter". Shift F1 - view a file called ddiruser.lst. This must be in the root directory of your c: drive. It can be edited to your specifications. A blank is provided with this package. IMPORTANT NOTE ßßßßßßßßßßßßßß - To use v or l you must have the VIEW or LIST utilities in a directory referenced in your AUTOEXEC.BAT PATH statement). **** IMPORTANT UPDATE NOTE ******** IMPORTANT UPDATE NOTE **** DDIR is an EXE file. If you are upgrading from an earlier COM version, be sure to delete DDIR.COM. **** IMPORTANT UPDATE NOTE ******** IMPORTANT UPDATE NOTE **** +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ CUSTOMIZING DDIR WITH DDIRCFG.COM ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß Usage: ddircfg [filename] where filename is ddir.exe or a copy of ddir.exe given some other .exe name (e.g. ddir00.exe) If you omit the filename, ddircfg will assume you want to configure ddir.exe. What can you configure? (quick summary) - the display color for the file list (old files) - the display color for new files - the display color for files marked for deletion - the display color for scrolling through the file list - the date and time format (date: US, UK or International; date: 12 or 24 hour clock) - the way in which DDIR sorts the file list when you first run it - the display speed (normal e.g. for CGA, 8088; fast e.g. for EGA/VGA, 80286 or better) - whether or not DDIR automatically detects the number of display lines NOTE: the customization now allows you to save your settings to a file DDIRCFG.SAV. You can have different versions of this file in different directories if you wish; DDIR will use the settings it finds in the directory it is run from, if a SAV file exists there. otherwise it will use its customized default settings. You can also reconfigure the default customization for DDIR from any SAV file you have previously created. This feature will be maintained, if possible, in any future upgrades of DDIR, so that you will be able to reconfigure future versions automatically using the preferences you have established now. The display colors, the date and time format and the default display (upper or lower case) can be set automatically using the accompanying configuration program DDIRCFG.BEFORE CUSTOMIZING, MAKE SURE YOU HAVE BACKED UP THE ORIGINAL DDIR.EXE TO A SAFE PLACE! Then from the directory where you have ddir.exe simply type ddircfg or ddircfg ddir.exe (where ddir.exe can be replaced with a copy of ddir.exe renamed to some other executable e.g. dd100.exe). Follow instructions. If you choose to reconfigure ddir.exe (or the copy) directly, a modified file called DDIRN.EXE, using your selected customizations, will be created. Test this before using the DOS COPY command to copy it to ddir.exe. You can also just create a new DDIRCFG.SAV configuration file, or reconfigure ddir.exe from an existing DDIRCFG.SAV file (including those created from earlier versions). If you choose to modify the executable, rather than just create a new configuration file, DDIRCFG will try to open the file you specify on the command line, or, if none is given, will try to open DDIR.EXE. The first set of customizations are for the display colors. You can then set the mode of date display (e.g. dd.mm.yy, mm-dd-yy etc.) and the default sort method when DDIR is run. DDIR can, if your display adapter is appropriate, use fast screen display. Unless you are using a CGA adapter or VGA in a slow computer, you should be able to use this mode. However, because some adapters are non-standard it is possible that running in fast display mode would lock your system. DDIR therefore ships with the default normal display speed. You can modify this through DDIRCFG. If doing so causes no problems stay with it; if a problem does arise, re-run DDIRCFG and select normal display speed. Some non-standard BIOSes do not correctly return the number of lines being used on the display screen (25 on CGA; up to 60 on VGA displays). Although DDIR tries to detect abnormal results, you can, as an added precaution, force it to use only 25 lines. Normally, select "let DDIR choose", and force it to 25 lines only if there is a problem with the display. IMPORTANT: If you have selected "normal display speed" DDIR will run in 25 line mode ONLY. XDUPE ===== xdupe.com can be used as a standalone program for copying files from one directory to another. It checks for space available on the target drive and prompts you to change the diskette if there is not enough room. xdupe uses the following switches: /d - copy and delete from source /t - copy only those files created today (useful for backing up to diskette) /p - do not overwrite read-only (protected) files on the target Usage: xdupe [a:][directory]*.* b:[directory]\ /switch1 /switch2 ... Note that the target MUST end in either : or \ THE LEGAL STUFF ßßßßßßßßßßßßßßß The author makes no warranty that the software in this package will work with your particular hardware configuration. You use the programs entirely at your own risk, and the author will not be held liable for any damage caused to your hardware or software through use of this software, or for any other effects, direct or indirect, of using the software. Legalities aside, you should not run into difficulties with this software. SHAREWARE ßßßßßßßßß These programs are distributed as shareware, AND ARE NOT CRIPPLED!!. (Editorial note: I don't support "crippleware" - I want to know EXACTLY what I'm expected to pay for! Crippleware is, in my opinion, like test driving a Mercedes that's been fitted with a two-stroke engine! There, that's said - but each to his own.) You do not have to register as a user, nor are you under any obligation to buy the program(s). However, they are not free, and in the spirit of shareware, you are requested to make a small donation to the author if you find the software in this package useful, and if you continue to use it after an evaluation period of 30 days. This would both fulfill your moral obligation and help ensure the viability of the shareware concept, from which we all benefit. If you choose not to pay, you are asked to remove the program files from your computer. The suggested contribution is $20, but less (or more!) would be fine. Pay what you think the software is worth to you. If you pay the recommended amount, I will send you a diskette with the latest version plus some other shareware and freeware, including the shareware utilities2COL/JETCOL by Tony Caine). Please specify the disk size (5 1/4 or 3 1/2"). Should you decide to make a contribution, please remit to: Malcolm Drury 11 Adele Crescent Nepean ON K2J 2T7 Canada Internet mdrury@emr1.emr.ca or 70574.3457@compuserve.com Compuserve 70574,3457 Bank notes would be fine, as would international money orders and US or Canadian checks. Thank you. Please tell me where you got the software from (this helps me in knowing where to post updates), and, most importantly, which version it is. Please contact me if you wish to negotiate site licenses. IF YOU HAVE PREVIOUSLY PAID FOR AN EARLIER VERSION - THANKS, AND OF COURSE YOU ARE NOT EXPECTED TO PAY AGAIN. YOUR INPUT, COMMENTS ETC. ARE, OF COURSE, ALWAYS WELCOME. Please note that at the low contribution requested, I cannot provide DIRECT technical support, nor automatically send upgrades, should they become available. If you have comments, questions, bug reports etc., please leave a message at my Compuserve or INTERNET address, or write to me via snail mail. I will endeavor to fix any problems you might encounter. Those who have paid are, of course, entitled to obtain the latest version from the BBS of their choice and consider it a fully registered version. My software will NEVER be crippled, nor will it ever contain "nag" screens. The software is supplied on an "as is" basis. You are free to distribute this software package provided that you distribute the ENTIRE package, including this documentation file. (This is necessary for others to be able to use it properly. I've downloaded too many shareware packages that had been posted without accompanying documentation!). I hope you find this package useful. Malcolm Drury June 3rd, 1996 HOW TO OBTAIN VIEW ßßßßßßßßßßßßßßßßßß VIEW is available on many BBS and on Compuserve/Ziffnet (VWFILE.ZIP in ZNT:TIPS and CIS:IBMAPPS). If you wish to obtain a registered copy directly from me, please add $20 to your contribution (this is a specially discounted price). Alternatively, get it from your BBS and "try before you buy" just as you are doing with DDIR. From your favorite BBS just do a search on "VIEW??.*" As of this date the current version is 11.3b. ******************************************************************************** Look for the following shareware on this BBS VGAPAL40.ZIP - customize up to 4 VGA text color palettes, choosing from more than 260,000 colors! (And see how many you can actually discern!). One palette can be used to create a small (2k) TSR program that maintains your chosen scheme. Alternatively, you can set any of the palettes, or a grey-scale scheme, from a non-TSR if memory or loading a TSR is a problem. (On Compuserve/Ziffnet in ZNT:TIPS as vgacus.zip) BBS search: vgapal??.zip DSPACE65.ZIP - shows graphically hard disk space installed, used and free, for all drives, and shows drive type (local, remote, RAM etc.); second program shows graphically space on designated drive (including floppy), and reports on installed and available RAM, including XMS and EMS memory. (On Compuserve/Ziffnet in ZNT:TIPS as dskspc.zip) BBS search: dspace??.zip VIEW113B.ZIP - file viewer for WordPerfect 5.0 - 6.1, ASCII, Ami Pro and Word (DOS 4/5 and Windows 1-6); also displays HTML files. It includes text search, printing full or partial file, etc. (On Compuserve as VWFILE.ZIP in ZNT:TIPS and others). BBS search: view???.zip. You can also find 2COL and JETCOL on many BBS and on Compuserve. Search on 2COL??.ZIP and JETCOL??.ZIP. IF YOU DO NOT FIND ANY OF THESE, LEAVE ME A MESSAGE! I'LL BE HAPPY TO SEND THEM TO YOU, BUT IN THE INTERESTS OF CUTTING DOWN CONNECT TIME WOULD PREFER TO USE INTERNET. THAT WOULD REQUIRE YOU TO HAVE THE UUDECODE.EXE PROGRAM, WHICH SHOULD BE AVAILABLE ON ANY BBS YOU USE. CIS 70574,3457 INTERNET mdrury@nrcan.gc.ca or 70574.3457@compuserve.com =========================================================================== This document was prepared using the BOXER (TM) version 7.0 text editor.