Home » CEEFAX disks » telesoftware14.adl » 27-03-89/QD\DOC

27-03-89/QD\DOC

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » CEEFAX disks » telesoftware14.adl
Filename: 27-03-89/QD\DOC
Read OK:
File size: 07F5 bytes
Load address: 0000
Exec address: FFFFFFFF
File contents
                                QD.EXE
                            by David Foster

QD is yet another DIR type of program, but with a few slight
differences. The program was created for my personal use as a result of
my preference to be able to see a sorted listing of filenames together
with the approximate file size, without all the clutter of directories
and dates as well. Similarly, I wanted to be able to easily display a
list of sub-directories without the clutter of filenames, hence the
available option.

By default, only the filenames and their size, in Kilobytes are
displayed, together with a total of the number of files and their
accumulated size. These are displayed in alphabetically sorted order,
four columns across the screen, so that the maximum number may be
displayed at a time. If there are too many to be displayed at one time,
the display pauses until the Space Bar is pressed. Directory names are
not included in the list

An optional switch, '/D' is available and, when used, a sorted list of
the only the sub-directories of the specified directory ( or Current if
none specified) is displayed.

SYNTAX

    QD (<filespec>) (/D)

<filespec> is optional and if omitted, all files in the current
           directory will be listed. Wildcards, drive letters and
           directory paths may be included. Specifying a directory
           without a filename will result in a list of all files in the
           specified directory.

/D         is also optional. If used, only sub-directory names of the
           specified directory will be listed, instead of filenames.

EXAMPLES

    QD               List all files in current directory
    QD A:            List all files on the root directory of drive A:
    QD \MYDIR        List all files in '\MYDIR' directory
    QD \MYDIR\*.DOC  List all '.DOC' files in '\MYDIR'
    QD /D            List all sub-directories off the current directory
    QD \MYDIR /D     List all sub-directories off '\MYDIR' directory

00000000  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000020  51 44 2e 45 58 45 0d 0a  20 20 20 20 20 20 20 20  |QD.EXE..        |
00000030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000040  20 20 20 20 62 79 20 44  61 76 69 64 20 46 6f 73  |    by David Fos|
00000050  74 65 72 0d 0a 0d 0a 51  44 20 69 73 20 79 65 74  |ter....QD is yet|
00000060  20 61 6e 6f 74 68 65 72  20 44 49 52 20 74 79 70  | another DIR typ|
00000070  65 20 6f 66 20 70 72 6f  67 72 61 6d 2c 20 62 75  |e of program, bu|
00000080  74 20 77 69 74 68 20 61  20 66 65 77 20 73 6c 69  |t with a few sli|
00000090  67 68 74 0d 0a 64 69 66  66 65 72 65 6e 63 65 73  |ght..differences|
000000a0  2e 20 54 68 65 20 70 72  6f 67 72 61 6d 20 77 61  |. The program wa|
000000b0  73 20 63 72 65 61 74 65  64 20 66 6f 72 20 6d 79  |s created for my|
000000c0  20 70 65 72 73 6f 6e 61  6c 20 75 73 65 20 61 73  | personal use as|
000000d0  20 61 20 72 65 73 75 6c  74 20 6f 66 0d 0a 6d 79  | a result of..my|
000000e0  20 70 72 65 66 65 72 65  6e 63 65 20 74 6f 20 62  | preference to b|
000000f0  65 20 61 62 6c 65 20 74  6f 20 73 65 65 20 61 20  |e able to see a |
00000100  73 6f 72 74 65 64 20 6c  69 73 74 69 6e 67 20 6f  |sorted listing o|
00000110  66 20 66 69 6c 65 6e 61  6d 65 73 20 74 6f 67 65  |f filenames toge|
00000120  74 68 65 72 0d 0a 77 69  74 68 20 74 68 65 20 61  |ther..with the a|
00000130  70 70 72 6f 78 69 6d 61  74 65 20 66 69 6c 65 20  |pproximate file |
00000140  73 69 7a 65 2c 20 77 69  74 68 6f 75 74 20 61 6c  |size, without al|
00000150  6c 20 74 68 65 20 63 6c  75 74 74 65 72 20 6f 66  |l the clutter of|
00000160  20 64 69 72 65 63 74 6f  72 69 65 73 0d 0a 61 6e  | directories..an|
00000170  64 20 64 61 74 65 73 20  61 73 20 77 65 6c 6c 2e  |d dates as well.|
00000180  20 53 69 6d 69 6c 61 72  6c 79 2c 20 49 20 77 61  | Similarly, I wa|
00000190  6e 74 65 64 20 74 6f 20  62 65 20 61 62 6c 65 20  |nted to be able |
000001a0  74 6f 20 65 61 73 69 6c  79 20 64 69 73 70 6c 61  |to easily displa|
000001b0  79 20 61 0d 0a 6c 69 73  74 20 6f 66 20 73 75 62  |y a..list of sub|
000001c0  2d 64 69 72 65 63 74 6f  72 69 65 73 20 77 69 74  |-directories wit|
000001d0  68 6f 75 74 20 74 68 65  20 63 6c 75 74 74 65 72  |hout the clutter|
000001e0  20 6f 66 20 66 69 6c 65  6e 61 6d 65 73 2c 20 68  | of filenames, h|
000001f0  65 6e 63 65 20 74 68 65  0d 0a 61 76 61 69 6c 61  |ence the..availa|
00000200  62 6c 65 20 6f 70 74 69  6f 6e 2e 0d 0a 0d 0a 42  |ble option.....B|
00000210  79 20 64 65 66 61 75 6c  74 2c 20 6f 6e 6c 79 20  |y default, only |
00000220  74 68 65 20 66 69 6c 65  6e 61 6d 65 73 20 61 6e  |the filenames an|
00000230  64 20 74 68 65 69 72 20  73 69 7a 65 2c 20 69 6e  |d their size, in|
00000240  20 4b 69 6c 6f 62 79 74  65 73 20 61 72 65 0d 0a  | Kilobytes are..|
00000250  64 69 73 70 6c 61 79 65  64 2c 20 74 6f 67 65 74  |displayed, toget|
00000260  68 65 72 20 77 69 74 68  20 61 20 74 6f 74 61 6c  |her with a total|
00000270  20 6f 66 20 74 68 65 20  6e 75 6d 62 65 72 20 6f  | of the number o|
00000280  66 20 66 69 6c 65 73 20  61 6e 64 20 74 68 65 69  |f files and thei|
00000290  72 0d 0a 61 63 63 75 6d  75 6c 61 74 65 64 20 73  |r..accumulated s|
000002a0  69 7a 65 2e 20 54 68 65  73 65 20 61 72 65 20 64  |ize. These are d|
000002b0  69 73 70 6c 61 79 65 64  20 69 6e 20 61 6c 70 68  |isplayed in alph|
000002c0  61 62 65 74 69 63 61 6c  6c 79 20 73 6f 72 74 65  |abetically sorte|
000002d0  64 20 6f 72 64 65 72 2c  0d 0a 66 6f 75 72 20 63  |d order,..four c|
000002e0  6f 6c 75 6d 6e 73 20 61  63 72 6f 73 73 20 74 68  |olumns across th|
000002f0  65 20 73 63 72 65 65 6e  2c 20 73 6f 20 74 68 61  |e screen, so tha|
00000300  74 20 74 68 65 20 6d 61  78 69 6d 75 6d 20 6e 75  |t the maximum nu|
00000310  6d 62 65 72 20 6d 61 79  20 62 65 0d 0a 64 69 73  |mber may be..dis|
00000320  70 6c 61 79 65 64 20 61  74 20 61 20 74 69 6d 65  |played at a time|
00000330  2e 20 49 66 20 74 68 65  72 65 20 61 72 65 20 74  |. If there are t|
00000340  6f 6f 20 6d 61 6e 79 20  74 6f 20 62 65 20 64 69  |oo many to be di|
00000350  73 70 6c 61 79 65 64 20  61 74 20 6f 6e 65 20 74  |splayed at one t|
00000360  69 6d 65 2c 0d 0a 74 68  65 20 64 69 73 70 6c 61  |ime,..the displa|
00000370  79 20 70 61 75 73 65 73  20 75 6e 74 69 6c 20 74  |y pauses until t|
00000380  68 65 20 53 70 61 63 65  20 42 61 72 20 69 73 20  |he Space Bar is |
00000390  70 72 65 73 73 65 64 2e  20 44 69 72 65 63 74 6f  |pressed. Directo|
000003a0  72 79 20 6e 61 6d 65 73  20 61 72 65 0d 0a 6e 6f  |ry names are..no|
000003b0  74 20 69 6e 63 6c 75 64  65 64 20 69 6e 20 74 68  |t included in th|
000003c0  65 20 6c 69 73 74 0d 0a  0d 0a 41 6e 20 6f 70 74  |e list....An opt|
000003d0  69 6f 6e 61 6c 20 73 77  69 74 63 68 2c 20 27 2f  |ional switch, '/|
000003e0  44 27 20 69 73 20 61 76  61 69 6c 61 62 6c 65 20  |D' is available |
000003f0  61 6e 64 2c 20 77 68 65  6e 20 75 73 65 64 2c 20  |and, when used, |
00000400  61 20 73 6f 72 74 65 64  20 6c 69 73 74 20 6f 66  |a sorted list of|
00000410  0d 0a 74 68 65 20 6f 6e  6c 79 20 74 68 65 20 73  |..the only the s|
00000420  75 62 2d 64 69 72 65 63  74 6f 72 69 65 73 20 6f  |ub-directories o|
00000430  66 20 74 68 65 20 73 70  65 63 69 66 69 65 64 20  |f the specified |
00000440  64 69 72 65 63 74 6f 72  79 20 28 20 6f 72 20 43  |directory ( or C|
00000450  75 72 72 65 6e 74 20 69  66 0d 0a 6e 6f 6e 65 20  |urrent if..none |
00000460  73 70 65 63 69 66 69 65  64 29 20 69 73 20 64 69  |specified) is di|
00000470  73 70 6c 61 79 65 64 2e  0d 0a 0d 0a 53 59 4e 54  |splayed.....SYNT|
00000480  41 58 0d 0a 0d 0a 20 20  20 20 51 44 20 28 3c 66  |AX....    QD (<f|
00000490  69 6c 65 73 70 65 63 3e  29 20 28 2f 44 29 0d 0a  |ilespec>) (/D)..|
000004a0  0d 0a 3c 66 69 6c 65 73  70 65 63 3e 20 69 73 20  |..<filespec> is |
000004b0  6f 70 74 69 6f 6e 61 6c  20 61 6e 64 20 69 66 20  |optional and if |
000004c0  6f 6d 69 74 74 65 64 2c  20 61 6c 6c 20 66 69 6c  |omitted, all fil|
000004d0  65 73 20 69 6e 20 74 68  65 20 63 75 72 72 65 6e  |es in the curren|
000004e0  74 0d 0a 20 20 20 20 20  20 20 20 20 20 20 64 69  |t..           di|
000004f0  72 65 63 74 6f 72 79 20  77 69 6c 6c 20 62 65 20  |rectory will be |
00000500  6c 69 73 74 65 64 2e 20  57 69 6c 64 63 61 72 64  |listed. Wildcard|
00000510  73 2c 20 64 72 69 76 65  20 6c 65 74 74 65 72 73  |s, drive letters|
00000520  20 61 6e 64 0d 0a 20 20  20 20 20 20 20 20 20 20  | and..          |
00000530  20 64 69 72 65 63 74 6f  72 79 20 70 61 74 68 73  | directory paths|
00000540  20 6d 61 79 20 62 65 20  69 6e 63 6c 75 64 65 64  | may be included|
00000550  2e 20 53 70 65 63 69 66  79 69 6e 67 20 61 20 64  |. Specifying a d|
00000560  69 72 65 63 74 6f 72 79  0d 0a 20 20 20 20 20 20  |irectory..      |
00000570  20 20 20 20 20 77 69 74  68 6f 75 74 20 61 20 66  |     without a f|
00000580  69 6c 65 6e 61 6d 65 20  77 69 6c 6c 20 72 65 73  |ilename will res|
00000590  75 6c 74 20 69 6e 20 61  20 6c 69 73 74 20 6f 66  |ult in a list of|
000005a0  20 61 6c 6c 20 66 69 6c  65 73 20 69 6e 20 74 68  | all files in th|
000005b0  65 0d 0a 20 20 20 20 20  20 20 20 20 20 20 73 70  |e..           sp|
000005c0  65 63 69 66 69 65 64 20  64 69 72 65 63 74 6f 72  |ecified director|
000005d0  79 2e 0d 0a 0d 0a 2f 44  20 20 20 20 20 20 20 20  |y...../D        |
000005e0  20 69 73 20 61 6c 73 6f  20 6f 70 74 69 6f 6e 61  | is also optiona|
000005f0  6c 2e 20 49 66 20 75 73  65 64 2c 20 6f 6e 6c 79  |l. If used, only|
00000600  20 73 75 62 2d 64 69 72  65 63 74 6f 72 79 20 6e  | sub-directory n|
00000610  61 6d 65 73 20 6f 66 20  74 68 65 0d 0a 20 20 20  |ames of the..   |
00000620  20 20 20 20 20 20 20 20  73 70 65 63 69 66 69 65  |        specifie|
00000630  64 20 64 69 72 65 63 74  6f 72 79 20 77 69 6c 6c  |d directory will|
00000640  20 62 65 20 6c 69 73 74  65 64 2c 20 69 6e 73 74  | be listed, inst|
00000650  65 61 64 20 6f 66 20 66  69 6c 65 6e 61 6d 65 73  |ead of filenames|
00000660  2e 0d 0a 0d 0a 45 58 41  4d 50 4c 45 53 0d 0a 0d  |.....EXAMPLES...|
00000670  0a 20 20 20 20 51 44 20  20 20 20 20 20 20 20 20  |.    QD         |
00000680  20 20 20 20 20 20 4c 69  73 74 20 61 6c 6c 20 66  |      List all f|
00000690  69 6c 65 73 20 69 6e 20  63 75 72 72 65 6e 74 20  |iles in current |
000006a0  64 69 72 65 63 74 6f 72  79 0d 0a 20 20 20 20 51  |directory..    Q|
000006b0  44 20 41 3a 20 20 20 20  20 20 20 20 20 20 20 20  |D A:            |
000006c0  4c 69 73 74 20 61 6c 6c  20 66 69 6c 65 73 20 6f  |List all files o|
000006d0  6e 20 74 68 65 20 72 6f  6f 74 20 64 69 72 65 63  |n the root direc|
000006e0  74 6f 72 79 20 6f 66 20  64 72 69 76 65 20 41 3a  |tory of drive A:|
000006f0  0d 0a 20 20 20 20 51 44  20 5c 4d 59 44 49 52 20  |..    QD \MYDIR |
00000700  20 20 20 20 20 20 20 4c  69 73 74 20 61 6c 6c 20  |       List all |
00000710  66 69 6c 65 73 20 69 6e  20 27 5c 4d 59 44 49 52  |files in '\MYDIR|
00000720  27 20 64 69 72 65 63 74  6f 72 79 0d 0a 20 20 20  |' directory..   |
00000730  20 51 44 20 5c 4d 59 44  49 52 5c 2a 2e 44 4f 43  | QD \MYDIR\*.DOC|
00000740  20 20 4c 69 73 74 20 61  6c 6c 20 27 2e 44 4f 43  |  List all '.DOC|
00000750  27 20 66 69 6c 65 73 20  69 6e 20 27 5c 4d 59 44  |' files in '\MYD|
00000760  49 52 27 0d 0a 20 20 20  20 51 44 20 2f 44 20 20  |IR'..    QD /D  |
00000770  20 20 20 20 20 20 20 20  20 20 4c 69 73 74 20 61  |          List a|
00000780  6c 6c 20 73 75 62 2d 64  69 72 65 63 74 6f 72 69  |ll sub-directori|
00000790  65 73 20 6f 66 66 20 74  68 65 20 63 75 72 72 65  |es off the curre|
000007a0  6e 74 20 64 69 72 65 63  74 6f 72 79 0d 0a 20 20  |nt directory..  |
000007b0  20 20 51 44 20 5c 4d 59  44 49 52 20 2f 44 20 20  |  QD \MYDIR /D  |
000007c0  20 20 20 4c 69 73 74 20  61 6c 6c 20 73 75 62 2d  |   List all sub-|
000007d0  64 69 72 65 63 74 6f 72  69 65 73 20 6f 66 66 20  |directories off |
000007e0  27 5c 4d 59 44 49 52 27  20 64 69 72 65 63 74 6f  |'\MYDIR' directo|
000007f0  72 79 0d 0a 1a                                    |ry...|
000007f5
27-03-89/QD\DOC.m0
27-03-89/QD\DOC.m1
27-03-89/QD\DOC.m2
27-03-89/QD\DOC.m4
27-03-89/QD\DOC.m5