DISKED The DISK EDitor

Command Line

DISKED [-|+hfrst] [/x{ifile}] [/r{sfile}] [/f{text}] [/s{B|F|n}] [/m] [d:]

       options: - off  + on
                h home
                f files
                r restore
                s save
                t translate

                {ifile} initialization file override
                {sfile} save file override
                {text} find text
                {B|F|n|file} set to BOOT, FAT, sector n, or file
                m minimize file buffer size
                d: drive


Examples Of Uses

     i. Patching Norton Commander for your favorite text viewer.

        Use this command line to set to the beginning of the file
        NCMAIN.EXE:

                DISKED +f /s ncmain.exe

        (Use the 'm' command to display a cluster map of the file.
        If it is very fragmented and you have a disk optimizer you
        may want to use it.)

        Search for the test "WPVIEW.EXE":

                fWPVIEW.EXE

        When found, DISKED results in:

                found at xxx

        Change the sector buffer; enter the command:

                cxxx

        DISKED displays:

                xxx 57 'W' 

        Enter your text editor name followed by a nul ('.' exits edit mode):

                xxx 57 'W' "LIST.COM
                xxx 65 'E' 00
                xxx 66 'X' .

        Write sector to disk (write must be enable, see DISKED.INI):

                w

        Now the F3 key in Norton Commander views text files with
        LIST.COM!.


    ii. Directory Maintenence.

        Use this command line to set to the current directory:

                DISKED /d -f +t

        DISKED will display something like this:

        sector 159353, cluster 9939:1

        File           Attr   Time       Date       Cluster      Size

        .       .      ___D_   13:34:13   02/13/94      9939
        ..      .      ___D_   13:34:13   02/13/94      8221
        ARC     .      ___D_   13:34:23   02/13/94      9940
                                  .
                                  .
                                  .
        FILES   .C     ____A   17:40:06   03/09/94      1744     17115

        Enter directory edit mode:

                ^D

        Use the TAB, CR, and arrow keys to edit the entries; type
        '.' to end.

        Write sector to disk (write must be enable, see DISKED.INI):

                w
